Inconsistent behaviour of minimising panels on mobile
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No response
Tell us about your environment
iOS (Safari)
MarkBind version
v4.1.0
Describe the bug and the steps to reproduce it
This issue occurs on mobile.
There is some inconsistent and unexpected behaviour when tapping on the right side of a closed panel where the "minimise" button should be, but is not visible. (Screen recording below)
- Inconsistent behaviour when tapping on this area: Sometimes, it minimises the panel. Other times, it simply shows the "minimise" button
- Furthermore, since the minimise button is not displayed when the user taps on the right side of the panel, having the panel minimise might be unintuitive for the user.
https://user-images.githubusercontent.com/61113575/226275121-b7a1e885-0e90-40cb-b46d-6a9edbf7053c.mov
Expected behavior
When a user clicks on the right side of a closed panel, it should not minimise, since the minimise button is not visible.
Anything else?
Not really a bug, but also on mobile, panels require two clicks to be opened - the first click shows the anchor, expand and minimise icons; the second click will open the panel. (Screen recording below) This behaviour is consistent, so it may not be considered a bug. Though I'm not sure if it would be more intuitive for the panel to open immediately instead of on the second click?
https://user-images.githubusercontent.com/61113575/226274790-846ee87a-4ed4-41fc-aba3-19975c8420ea.mov
There is some inconsistent and unexpected behaviour when tapping on the right side of a closed panel where the "minimise" button should be, but is not visible. (Screen recording below)
Is this a physical device? I can't reproduce this on emulator or android.
Not really a bug, but also on mobile, panels require two clicks to be opened - the first click shows the anchor, expand and minimise icons; the second click will open the panel. (Screen recording below)
Is this only when clicking the anchor? Can't tell when the clicks are registered from the recording.
Clicking other areas seems to be ok for me so it could be ios specific otherwise.
+1 to fixing this. (in the case it happens in other areas too)
Is this a physical device? I can't reproduce this on emulator or android.
Yup, physical iPhone
Is this only when clicking the anchor? Can't tell when the clicks are registered from the recording.
Clicking other areas seems to be ok for me so it could be ios specific otherwise.
Nope, it appears to be when clicking anywhere on the closed panel (except the "x" minimise button). The black dots in the recording are the location of the clicks
Agree that it may be iOS specific! Replicating the mobile version on chrome/safari on desktop doesn't have this issue.