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

RolePicker: Fix submenu position on horizontal space overflow #50769

Merged
merged 1 commit into from
Jun 15, 2022

Conversation

Clarity-89
Copy link
Contributor

What this PR does / why we need it:
Fix role picker's submenu to be shown on the left side of the menu, when there's not enough horizontal space to show it on the right.

Which issue(s) this PR fixes:

Fixes https://github.com/grafana/grafana-enterprise/issues/3462

Special notes for your reviewer:

Before:

Screenshot 2022-06-14 at 13 48 34

After:
Screenshot 2022-06-14 at 13 36 48
Screenshot 2022-06-14 at 13 42 17

@Clarity-89 Clarity-89 added this to the 9.0.1 milestone Jun 14, 2022
@Clarity-89 Clarity-89 requested review from mjseaman, alexanderzobnin and a team June 14, 2022 11:01
@Clarity-89 Clarity-89 self-assigned this Jun 14, 2022
@Clarity-89 Clarity-89 requested review from Jguer and IevaVasiljeva and removed request for a team June 14, 2022 11:01
@grafanabot
Copy link
Contributor

@Clarity-89 Clarity-89 merged commit 2fbe99c into main Jun 15, 2022
@Clarity-89 Clarity-89 deleted the rolepicker/submenu-layout branch June 15, 2022 06:51
grafanabot pushed a commit that referenced this pull request Jun 15, 2022
Clarity-89 added a commit that referenced this pull request Jun 15, 2022
#50843)

(cherry picked from commit 2fbe99c)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants