New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offcanvas without triggerButton #40
Comments
Hi Pavel, Did you try to use the Cart-Button as triggerButton instead? |
Hi, the point is, that there is no Cart button opening offcanvas. The cart button redirects user to cart already, offcanvas is displayed just after he adds something to cart from AJAX event only. So no control to display offcanvas manually by user... Pavel |
Hi Pavel, can you test it if this works and let me know |
Hi, sorry for late reply, I was quite busy last few days. Pavel |
Hi,
when creating offcanvas without triggerButton specified, an error 'Element required to initialize object' is raised.
I use this code, as offcanvas in my case is not triggered by any alement, but appears as feedback to AJAX action (after user add something to cart).
I can bypass this issue by creating invisible element like this
Is this expected behavior, or an issue? Would be nice to have option to omit triggerButton, when not needed.
thanks
Pavel
The text was updated successfully, but these errors were encountered: