Unfortunately I can't reproduce it, tried anything. I recently got a free Android phone that I don't use (I think it's an Honor something) that I may use to try to reproduce it.
BTW, in the Android emulator I can reproduce the previous issue that my PR fixes: the Quote button would appear behind the native phone controls for a text selection and cannot be pressed. And the PR fixes it for Android too. This is a bit finicky because these native context menus are OS-dependent and we can't know where they would appear, the logic on my iPhone is really complex, depends on the size of the selection, where the start and end is, how many lines, it could appear above or below... So, implementing a robust and OS-agnostic functionality that would make sure the Quote button is not overlapped by the phone toolbar is not an easy task.
What I can say for sure is, the Quote button on the iPhone before my PR would be useless most of the time. Even if we revert my PR, some solution should still be sought for how to make the quote functionality more predictable and robust.
BTW, I've occasionally had this experience where the Quote button would do nothing. It would happen rarely but I've been noticing it for years, long before my PR was merged last week.
@ClaudiusH hopefully you can see what the cause is since you can reproduce it on your phone. Apologies for causing trouble with my PR.
P.S. Just to clarify: in my PR I've introduced a 70px of space between the selection and the Quote button (I think "padding" is not the proper term, since padding is more a style/CSS term). Also, some calculations to make sure the Quote button is not cut-off on the sides. With this new logic the Quote button would indeed look a bit too far from the selection, especially when the Quote button is below the selection and the iPhone decides to show the native context menu/toolbar above it. But other than that it's a fully working Quote button. This can be called an "issue" but it's also a "preventative measure" if you like π I think it's better to have this slightly ugly-spaced button rather than it being hidden. However, whether that is related to the Quote button not working and clearing the selection, I can't say.