Menu/Popover fallback placement broken in 3.2.1
See original GitHub issueHello!
I’ve come across an issue with the latest version of Mantine, where Menu
and Popover
fallback placement don’t seem to work anymore.
Version information:
- @mantine/core@3.2.1
- @mantine/hooks@3.2.1
- Chromium: 95.0.4638.69
Here is an attached screenshot of the behavior I’m observing:
The Menu placement is end
, the position is bottom
. With 3.1.x in this situation the placement correctly flipped to start
, but not anymore.
I’ve seen than if editing the Popper
component and adding bottom-start
and bottom-end
to the fallbackPlacements
prop, I get the correct behavior back.
Maybe fallbackPlacements
should be available on Menu
and Popover
and passed down to Popper
to make this customizable?
Anyway, thanks for the awesome library, it’s been a pleasure trying it out lately 😃
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
SourceTree Release Notes - Download Developer Software
Sourcetree 3.2.1 - Minor Release [19 June 2019] ... Fix various split views losing their position on macOS Sierra; Creating a repo no...
Read more >Changelog - Nextcloud
Changes · Fix SQL type error (server#28531) · Allow to open any app in a standalone window (server#28594) · Fix encrypted version to...
Read more >changelog.txt
3.2.1 02/22/2022 == - Fix: Fix backwards compatibility with SkyVerge ... Tweak: Grow and center buttons in all WooCommerce ellipsis menu popover containers....
Read more >commits-list 2015-March Archive by Date
... [gtk+] gtkmenubutton: Popup menu/popover on GtkButton:clicked Carlos Garnacho ... [gnome-weather] Refactor current location handling in the world view ...
Read more >@mantine/core: Versions | Openbase
[@mantine/core] Tooltip: Add position fallback to reduce position shift (#2500); [@mantine/dates] ... Fix broken Grid responsive styles introduced in 5.2.2 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
possibly but I’m not sure if that automatic behaviour would be expected in 100%. I’ll make it as something similar to
fallbackPlacements || getDefaultFallbackPlacement(placement)
Hi @jvdsande, thanks for reporting! @EmilMalanczak can you please have a look at this?