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

Responsive dialog #6

Open
radiolondra opened this issue Oct 16, 2024 · 1 comment
Open

Responsive dialog #6

radiolondra opened this issue Oct 16, 2024 · 1 comment

Comments

@radiolondra
Copy link

Is it possible to make a shown dialog responsive when the browser is resized?
Actually the behaviour is like as shown in this video: https://app.screencast.com/wjwqpGEmcmBUg
I wish to have the dialog responsive (moved to the center of the browser when resized)
Thanks

@xxjapp
Copy link
Owner

xxjapp commented Oct 19, 2024

@radiolondra

You can try specifying the option fixChromeBlur: false.

For example, modify

xdialog.open({
    title: 'Hello, xdialog',
    body: 'This is a message.'
});

to

xdialog.open({
    title: 'Hello, xdialog',
    body: 'This is a message.',
    fixChromeBlur: false
});

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

2 participants