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

DropDown position doesn't align with toolbar buttons #74

Open
shouvikbarman opened this issue Mar 17, 2024 · 0 comments
Open

DropDown position doesn't align with toolbar buttons #74

shouvikbarman opened this issue Mar 17, 2024 · 0 comments

Comments

@shouvikbarman
Copy link

Describe the bug
If we use multiple editors in one page such that we have to scroll the page, dropdown goes out of alignment with the toolbar button

To Reproduce
Steps to reproduce the behavior:

  1. use multiple editors in one page
  2. Click on any toolbar button that opens a dropdown, e.g, Text color picker

Expected behavior
Dropdown should be positioned with the button

Additional context
in src/ui/DropDown.tsx on line number 38, we are assigning top value for dropdown, i think we should also take vertical scroll into account

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

No branches or pull requests

1 participant