Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Screen rotation causes the menu to be cutoff / partially off-screen #38

Open
MrCsabaToth opened this issue Jul 14, 2022 · 1 comment
Open

Comments

@MrCsabaToth
Copy link
Contributor

See:
2_rotate

I'll include a fix in my existing PR.
The fix contain:

  1. Close the menu in case of rotation
  2. Call _calculateProps();
MrCsabaToth added a commit to CsabaConsulting/fab_circular_menu_plus that referenced this issue Jul 14, 2022
Using WidgetsBindingObserver's didChangeMetrics call _calculateProps and close.
I haven't tried what this does if the app is resized in a split screen mode, but this is certainly needed for rotation.
@MrCsabaToth
Copy link
Contributor Author

Note that I was not able to reproduce this with OnePlus Nord w Android 11 or Android 12. However I could reproduce it with a Galaxy Tab A (2017) with Android 10. So it may not reproducable with certain devices or certain Android versions or screen resolutions. But it certainly is an issue with several devices.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant