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 dropdown opening direction when button intersects bottom of viewport #2552

Merged
merged 3 commits into from
Oct 25, 2022

Conversation

mark-drastrup
Copy link
Contributor

Which issue does this PR close?

This PR closes #2500

What is the new behavior?

The dropdown opens upwards when the button is clicked, while it intersects with the bottom of the viewport.

Does this PR introduce a breaking change?

  • Yes
  • No

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Reminders

  • Make sure you have implemented tests following the guidelines in: "The good: Test".
  • Make sure you have updated the cookbook with examples and showcases (for bug fixes, enhancements & new components).

Review

  • Do a self-review.
  • Request that the changes are code-reviewed
  • Request that the changes are UX reviewed (only necessary if your PR introduces visual changes)

When the pull request has been approved it will be merged to develop by Team Kirby.

@github-actions github-actions bot temporarily deployed to pr-2500-dropdown-opening-direction October 19, 2022 11:27 Inactive
@mictro mictro self-requested a review October 24, 2022 07:33
Copy link
Contributor

@mictro mictro left a comment

Choose a reason for hiding this comment

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

Easy fix and it work so ok...

@github-actions github-actions bot temporarily deployed to pr-2500-dropdown-opening-direction October 24, 2022 13:04 Inactive
@mark-drastrup mark-drastrup merged commit 93d2218 into develop Oct 25, 2022
@mark-drastrup mark-drastrup deleted the bug/2500-dropdown-opening-direction branch October 25, 2022 05:08
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.

[BUG] Fix "opening direction" when dropdown button intersects bottom of viewport
2 participants