You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Anchor is not specified, there is no problem, but if Anchor is specified, a problem occurs depending on the position of Anchor.
Since the Snackbar is hidden when the software keyboard is displayed, I specified the Anchor. However, there is this problem.
Ideally, I would like the Snackbar to be displayed considering the Anchor's position, screen height, and message length, is this possible?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
To reproduce the problem, layout as below.
Display long message in Snackbar with Button as anchor.
[Android]
Android.Emulator.-.pixel_2_-_api_30_5554.2023-06-02.17-04-51.mp4
[iOS]
RPReplay_Final1685693400.MP4
Below is the environment.
.NET MAUI CommunityToolkit:5.2.0
OS:iOS 16.4, Android 11.0
.NET MAUI:7.0.86
Below is the code to reproduce the problem.
https://github.com/cat0363/MauiComm-IssueSnackbar2.git
If Anchor is not specified, there is no problem, but if Anchor is specified, a problem occurs depending on the position of Anchor.
Since the Snackbar is hidden when the software keyboard is displayed, I specified the Anchor. However, there is this problem.
Ideally, I would like the Snackbar to be displayed considering the Anchor's position, screen height, and message length, is this possible?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions