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
Using both Hotwire.config.makeCustomWebView and Hotwire.registerBridgeComponents() causes unexpected behavior. If the web view is configured first then it is not used. If bridge components are registered first then the bridge is not initialized in the web view.
It's not uncommon for developers to need to do both. Disabling link previews, for example, requires access to the underlying web view.
Using both
Hotwire.config.makeCustomWebView
andHotwire.registerBridgeComponents()
causes unexpected behavior. If the web view is configured first then it is not used. If bridge components are registered first then the bridge is not initialized in the web view.It's not uncommon for developers to need to do both. Disabling link previews, for example, requires access to the underlying web view.
Currently, a developer must choose between bridge components or a custom web view.
This is happening because
Hotwire.registerBridgeComponents()
overwritesHotwire.config.makeCustomWebView
to initialize the bridge.The text was updated successfully, but these errors were encountered: