Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Flickering issues #396

Open
martinshoe opened this issue Mar 10, 2014 · 4 comments
Open

Flickering issues #396

martinshoe opened this issue Mar 10, 2014 · 4 comments

Comments

@martinshoe
Copy link

I use Uniform on my site and it loook great. But....
Sometimes there is a flickering om the screen. I see 'old ugly' form elements, before they are rendered into sexy forms.

Is there a way to avoid this?

@fidian
Copy link
Collaborator

fidian commented Mar 10, 2014

You might be triggering the JavaScript on page load, which could take a long time before that happens. Alternately, you could not show the form until it is stylable by just adding the appropriate CSS to hide the form. When the page loads, show the form and then style your elements.

@hacfi
Copy link

hacfi commented Apr 1, 2014

I’m experiencing the same issue and I’d like to render the final html (of uniform) on the server-side. Is there a way to use uniform without re-rendering everything?

@shehi shehi changed the title avoid flickering [Performance] Avoid flickering Apr 6, 2016
@shehi shehi changed the title [Performance] Avoid flickering Flickering issues Apr 22, 2016
@shehi shehi closed this as completed Jun 20, 2016
@Kopyov
Copy link

Kopyov commented Sep 26, 2017

Anyone solved this issue? Happens with jQuery 3.* versions

@shehi
Copy link
Member

shehi commented Sep 26, 2017

@Kopyov , can you demo it through a JSFiddle sample? Our readme should have a link to a sample fiddle.

@shehi shehi reopened this Sep 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants