Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS overflow style not being applied when dropdown options are closed on Safari #8

Open
markcellus opened this issue May 12, 2015 · 0 comments

Comments

@markcellus
Copy link
Owner

  1. Click on dropdown
  2. Select an option
  3. Observe on Safari browser that if overflow:hidden style is applied on the "dropdown wrapper", it does not hide the "dropdown options container" as intended due to the browser not re-rending the element with the new overflow:hidden style.

There is a fix for this in CSS here, but may be useful to implement a JS fix in this package.

Sources:

http://stackoverflow.com/questions/3485365/how-can-i-force-webkit-to-redraw-repaint-to-propagate-style-changes
http://mir.aculo.us/2009/01/11/little-javascript-hints-episode-3-force-redraw/
http://www.phpied.com/rendering-repaint-reflowrelayout-restyle/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant