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

[Fix] Feature Action Panel menu and editing tooltip are cut-off in dual map mode #2231

Merged
merged 1 commit into from May 23, 2023

Conversation

igorDykhta
Copy link
Collaborator

  1. shape selection/filter menu showing under the map on the right when in dual map mode.
    The fix uses a react portal to change where that menu is inserted in the DOM. Instead of being nested inside the map on the left's DOM, it's appended to our context. That way it displays over both maps instead of being hidden by the left map.

  2. switch the tooltip's position that shows on hover for shapes on the map. Too close to the right side - show the tooltip on the cursor's left side, etc.

… map mode

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Copy link
Collaborator

@ilyabo ilyabo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

Side note: maybe we should consider using floating-ui for tooltips and popovers in kepler as well like in Studio

@igorDykhta igorDykhta merged commit a112c0e into master May 23, 2023
9 checks passed
@delete-merged-branch delete-merged-branch bot deleted the igr/ups-feature-act-panel-fix branch May 23, 2023 00:22
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

Successfully merging this pull request may close these issues.

None yet

3 participants