Skip to content

DropDown position doesn't align with toolbar buttons #74

@shouvikbarman

Description

@shouvikbarman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions