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

Overlay with static methods have issues opening it 2 twice #535

Open
relivvius opened this issue Dec 19, 2024 · 0 comments
Open

Overlay with static methods have issues opening it 2 twice #535

relivvius opened this issue Dec 19, 2024 · 0 comments

Comments

@relivvius
Copy link

relivvius commented Dec 19, 2024

import {HSOverlay} from 'preline/preline';

// Inside the component

const handleOpenButtonClick = () => {
HSOverlay.open("#modal-id");
};

open

shows an error when pressing the button again to open the modal

Originally posted by @cquinoneso in #194 (comment)

@relivvius relivvius changed the title this is stil not working Issue opening 2 times Dec 19, 2024
@relivvius relivvius changed the title Issue opening 2 times Overlay with static methods have issues opening it 2 twice Dec 19, 2024
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