Ipad - Composer peek mode button causes editor to go off screen - cannot fix

סיכום מבוסס בינה מלאכותית

Jesse_Starks reported a bug on iPad where clicking the “peek mode” button in the composer causes the editor to go off-screen, rendering it unusable. The issue was initially suspected to be a glitch but was isolated to the horizon-theme. chapoi explained that peek mode is intended for larger screens and asked for reproduction details. Jesse_Starks confirmed the button does not appear on Meta under default settings but could reproduce the issue on Meta after manually switching to the horizon-theme via preferences. Further testing by Jesse_Starks confirmed the problem disappears when switching to the classic theme. chapoi acknowledged the bug and later announced a fix via pull request #38533 chapoi. Jesse_Starks verified the fix works after updating.

Initially I added this as a support request, but I figure it must be a glitch… I recreated in a different browsers on ipad 26.2 and 26.3

Basically, if I hit the button in the first screenshot, the composer goes off the screen (second screenshot). I can’t undo this action, and I can’t see that button anymore after I click it. What is it supposed to do?

Thanks…

2 לייקים

This is our peek-mode, which should only apply on large (enough) screens:

Can you please try if you see the button on Meta too? Because I don’t, which is how it is intended I belief.

I can’t repro on my own tablet. Which tablet (size) are you using?

Maybe your tablet sits just at an awkward cutoff point for either styling.

2 לייקים

Thanks for the reply. I checked Meta after I saw the situation on my instance - I do not see the button - so I can’t reproduce there either. So maybe it is something with the theme? You are welcome to try my instance if you want to repro: https://si.discourse.group

Also, my tablet size is standard ipad pro - no customizations

לייק 1

You can select the horizon-theme here as well at Discourse Meta - The Official Support Forum for Discourse or by using the selector at the bottom of the sidebar. Then you should be able to see the button here too.

לייק 1

Ok got it - I saw the button and was able to reproduce on meta

2 לייקים

Also confirmed that if I switch to classic theme, there is no issue. (I’m happy to stick with that for now… at least we’ve isolated it to the theme).

לייק 1

Okay, can confirm. Will see about a fix.

3 לייקים

This should be fixed by UX: peek-mode composer fixes for 13in tablets by chapoi · Pull Request #38533 · discourse/discourse · GitHub

Let me know if it isn’t after updating please :folded_hands:

Works for me - thanks!

לייק 1