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
Encountered problem
When creating a page with a Splitter element, the ons-splitter-mask element is created, but the element is not registered as a custom element, causing event listeners not to be attached.
@ashuey we have added (registered) ons-spitter-mask and released it in react-onsenui 1.13.3. Please have a test and let us know whether it resolve the problem.
Additionally, we would like to know how do you use splitterMask in your project? Thank you.
This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.
Environment
Onsen UI Version:
Framework:
Framework binding:
Platform:
Encountered problem
When creating a page with a Splitter element, the ons-splitter-mask element is created, but the element is not registered as a custom element, causing event listeners not to be attached.
How to reproduce
Using: https://onsen.io/playground/?framework=react&category=reference&module=splitter
The code on playground does not have this issue, as it uses browser imports. This issue can be replicated by copying the code into a new React project with Vite and compiling in dev or prod mode.
It appears that
dist/react-onsenui.js
in thereact-onsenui
package is missing an import ofonsenui/esm/elements/ons-splitter-mask.js
Manually importing this file in a project fixes the issue as a workaround:
import 'onsenui/esm/elements/ons-splitter-mask';
The text was updated successfully, but these errors were encountered: