On mobile the quote bar buttons has more options then before, now we have Copy Quote and Ask AI too which makes it more wider and can easily overflow out of the screen on smaller screens and especially on languages which has longer translation for these labels.
I think one of the best solution is probably makes it to sort the buttons in column. Now the buttons triggers the (composer, modal, toast) and close the quote bar, not like before when it’s open in quote bar on (Edit, Ask AI). We have more free space and much easier to handle these buttons.
You’re totally right that the current implementation leaves something to be desired.
I like your proposal at first glance, but how does it behave when selecting a word at the right edge (“pretty” in this case for example), or a bigger chunk of text? Both situations could push it off screen too. In general, positioning of these things is often the hard part.
I’d love to see it in action too, in addition to screenshots, if possible.
(But we should def fix the current horizontal overflow tho!)