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

Dialog: Responsiveness is not working in unstyled mode using tailwind #117

Closed
vvoila opened this issue Feb 9, 2024 · 1 comment
Closed
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@vvoila
Copy link

vvoila commented Feb 9, 2024

Describe the bug

Responsiveness in dialog component in unstyled mode is not working, for example if we set below property:

<Dialog v-model:visible="visible" modal header="Header" :style="{ width: '50vw' }" :breakpoints="{ '1199px': '75vw', '575px': '90vw' }">

and resize the browser, the dialog window won't set to 90vw, it keeps in 50vw.

Another demo, you can try in https://tailwind.primevue.org/dialog/#responsive and resize the browser window.

Reproducer

https://stackblitz.com/edit/egvgvp?file=src%2FApp.vue

PrimeVue version

3.48.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Chrome 121.x

Steps to reproduce the behavior

No response

Expected behavior

No response

@vvoila vvoila added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 9, 2024
@mertsincan mertsincan transferred this issue from primefaces/primevue Feb 9, 2024
@mertsincan
Copy link
Member

Hi,

Please see our limitations; #90 We recommend using tailwind breakpoint classes.

Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

2 participants