Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Popover not working properly
shweta last edited by
When i am trying to add popover got below error
Cannot read property ‘show’ of null
Sharing code below:
<ons-button id=“popover-target”>Popover Target</ons-button>
This is a popover!
var target = document.querySelector("#popover-target")
document.querySelector(“ons-popover”)is not finding any element. Make sure the popover is attached to the DOM when you run that.