question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Menu/Popover fallback placement broken in 3.2.1

See original GitHub issue

Hello!

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:

Here is an attached screenshot of the behavior I’m observing:

image

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:closed
  • Created 2 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
EmilMalanczakcommented, Nov 19, 2021

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)

1reaction
rtivitalcommented, Nov 19, 2021

Hi @jvdsande, thanks for reporting! @EmilMalanczak can you please have a look at this?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found