# Flicker when replace\_html then blind\_down

**URL:** <https://www.ruby-forum.com/t/flicker-when-replace-html-then-blind-down/122083>\
**Category:** Rails\
**Created:** [December 4, 2007, 2:40pm UTC](https://www.ruby-forum.com/t/flicker-when-replace-html-then-blind-down/122083 "2007-12-04T14:40:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![deliak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9e8a1a/32.png) [@deliak](https://www.ruby-forum.com/u/deliak)\
**Post date:** [December 4, 2007, 2:40pm UTC](https://www.ruby-forum.com/t/flicker-when-replace-html-then-blind-down/122083/1 "2007-12-04T14:40:20Z")

</div>

Hi all,  
does anybody know how to make it not flicker when in a rjs you  
replace\_html and then do a blind\_down? it looks like it displays the  
whole div, then shrinks it, then grows it…how to fix?

Emanuele.

---

<div class="post-metadata">

**Author:** ![deliak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9e8a1a/32.png) [@deliak](https://www.ruby-forum.com/u/deliak)\
**Post date:** [December 4, 2007, 3:46pm UTC](https://www.ruby-forum.com/t/flicker-when-replace-html-then-blind-down/122083/2 "2007-12-04T15:46:01Z")

</div>

On Dec 5, 2007 12:40 AM, Emanuele R.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> does anybody know how to make it not flicker when in a rjs you  
> replace\_html and then do a blind\_down? it looks like it displays the  
> whole div, then shrinks it, then grows it…how to fix?

Try making the initial style of the div “hidden” so that the browser  
does  
not display it first.

Regards

Mikel

---

<div class="post-metadata">

**Author:** ![deliak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9e8a1a/32.png) [@deliak](https://www.ruby-forum.com/u/deliak)\
**Post date:** [December 4, 2007, 3:55pm UTC](https://www.ruby-forum.com/t/flicker-when-replace-html-then-blind-down/122083/3 "2007-12-04T15:55:10Z")

</div>

Mikel L. wrote:

> On Dec 5, 2007 12:40 AM, Emanuele R.  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> wrote:
> 
> > does anybody know how to make it not flicker when in a rjs you  
> > replace\_html and then do a blind\_down? it looks like it displays the  
> > whole div, then shrinks it, then grows it…how to fix?
> 
> Try making the initial style of the div “hidden” so that the browser  
> does  
> not display it first.
> 
> Regards
> 
> Mikel

Thank you, I already did it , but I doesnt work doe.

I’ve found something that seems to work here instead:  
[http://dev.rubyonrails.org/ticket/6735](http://dev.rubyonrails.org/ticket/6735)
