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
Currently SelectableMath employed a hack to get righ-click context menu on desktop web, as discussed in #10 (comment). However this has an unexpected side effect, because it breaks mobile browsers's selection toolbar.
On mobile web, the position of selection toolbar depends on the actual position of the underlying textarea (doesn't matter if Flutter Web clips it or not). If we make the textarea riduculously large, then the selection toolbar will fly outside the viewport in most cases.
The text was updated successfully, but these errors were encountered:
I think it's better to drop the idea of using "native" context menu on web. MathQuill failed achieve it either. In fact, no web implementations did this with a native context menu. They all intercept the right click event and override with their custom context menu. Current Flutter can't do that easily.
Also, desktop web can still copy by ctrl+C in the future.
Once flutter/flutter#31955 is resolved, native context menu on web will be dropped and replaced with a custom one. Currently they are still useful for web demos.
Currently
SelectableMath
employed a hack to get righ-click context menu on desktop web, as discussed in #10 (comment). However this has an unexpected side effect, because it breaks mobile browsers's selection toolbar.On mobile web, the position of selection toolbar depends on the actual position of the underlying
textarea
(doesn't matter if Flutter Web clips it or not). If we make thetextarea
riduculously large, then the selection toolbar will fly outside the viewport in most cases.The text was updated successfully, but these errors were encountered: