Skip to content
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

Unable to use eventPopover close functionality. #224

Open
swati-tayal opened this issue Mar 13, 2021 · 0 comments
Open

Unable to use eventPopover close functionality. #224

swati-tayal opened this issue Mar 13, 2021 · 0 comments

Comments

@swati-tayal
Copy link

I have customize this eventPopover with my own popup as:
<template slot="eventPopover" slot-scope="{details}"> <div id="overlay"> <events :details="createNewInstance(details)" @eventData="eventData" @editEvent="editEvent" @emitMode="emitMode" :userRoleId="userRoleId" :isMobileView="isMobileView" :editEventPayload="editEventPayload" :userRoleAccessToButton="userRoleAccessToButton" :eventMode="eventMode"></events> </div> </template>

but i am unable to use its default close functionality.

I just want to close this popup by default close functionality of eventPopover and for that i have tried several ways to close the popup but none of them work for me as i am following:

let closemodal:any = document.getElementsByClassName('menuable__content__active'); if(closemodal){ closemodal[0].style.display = 'none'; }

I am intentionally placing this code for closing the popup and it closes this popup as well but when I click again on the same event it doesn't opens the popup. it then only opens when i click 2nd time on the same event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant