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

ColorPicker component should have offset option #48730

Closed
zairlaka opened this issue May 1, 2024 · 1 comment
Closed

ColorPicker component should have offset option #48730

zairlaka opened this issue May 1, 2024 · 1 comment

Comments

@zairlaka
Copy link

zairlaka commented May 1, 2024

What problem does this feature solve?

just like Select component dropdownAlign={{offset: [0, 0]}}
ColorPicker component should have offset option.
I am creating a tooltip div for editing the page when the text is down ColorPicker obviously pop up on the top where my other select dropdowns and menu place on the first row that triggers due to the space between them.
I know I can set the placement but I want default dynamic behaviour.
image

What does the proposed API look like?

just add offset option in ColorPicker like we do have in Select component

@afc163
Copy link
Member

afc163 commented May 2, 2024

You can try <ColorPicker arrow={{ pointAtCenter: true }} />.

@MadCcc MadCcc closed this as completed May 8, 2024
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

3 participants