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
It is currently impossible to open a hyperlink without leaving the current app when running a egui/eframe web app. This is because text is not selectable and right clicks on hyperlinks with an option to open in a new tab is currently not supported.
I would prefer the following two-part solution:
When right clicking any hyperlink it shows the option to be opened in a new browser tab.
egui:ui:Ui:hyperlink and egui:ui:Ui:hyperlink_to get an optional boolean parameter called open_in_new_tab. When this boolean is set to true, a normal left click opens the hyperlink in a new tab as well. This bool can be set to false by default to do not break any backwards compatibility. This boolen will also not affect egui when running on native OS, since hyperlinks are opened as a new tab anyway in this case.
The text was updated successfully, but these errors were encountered:
It is currently impossible to open a hyperlink without leaving the current app when running a egui/eframe web app. This is because text is not selectable and right clicks on hyperlinks with an option to open in a new tab is currently not supported.
I would prefer the following two-part solution:
egui:ui:Ui:hyperlink
andegui:ui:Ui:hyperlink_to
get an optional boolean parameter calledopen_in_new_tab
. When this boolean is set totrue
, a normal left click opens the hyperlink in a new tab as well. This bool can be set tofalse
by default to do not break any backwards compatibility. This boolen will also not affect egui when running on native OS, since hyperlinks are opened as a new tab anyway in this case.The text was updated successfully, but these errors were encountered: