baianat / verte

🎨 A Color picker component. Built from the bottom to work with Vue.js.
https://baianat.github.io/verte/
MIT License
181 stars 42 forks source link

Fixed mode for Picker, or appendPickerTo option #28

Closed mcmimik closed 5 years ago

mcmimik commented 5 years ago

There are a lot of cases where a Color Picker can be partially hidden if it's located in the element with overflow: hidden:

color-picker Sandbox: https://codesandbox.io/s/5zy1m0809n

Solution It can be fixed by appendPickerTo: '#element' option and position recalculation in relation to it.

Alternatives position: fixed; + position recalculation can be also an option.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.