Created
December 3, 2018 05:44
-
-
Save melvinstanly/195bbdd82cfd845619cbf00ec5735504 to your computer and use it in GitHub Desktop.
Color picker not Displayed / mispositioned inside a scrollable div
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Color picker won't appear when clicked, if it is inside a scrollable div. | |
Also when colorpicker is opened and scrolled, the colorpicker also get scrolled. | |
The solution to fix this is to add `position:relative` to the parent div in which input field, span(colorpicker preview) and | |
div(iris-picker iris-border). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment