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: Error when clicking on header to drag #5240

Closed
silvasamu opened this issue Feb 8, 2024 · 1 comment
Closed

Dialog: Error when clicking on header to drag #5240

silvasamu opened this issue Feb 8, 2024 · 1 comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@silvasamu
Copy link

Describe the bug

When clicking on the Dialog header, to drag, it gives an error.

TypeError: Failed to execute 'setAttribute' on 'Element': 2 arguments required, but only 1 present. at Proxy.initDrag (Dialog.27cf4128.js:7:365) at e.visible.e.$slots.container.e.showHeader.o.onMousedown.i.<computed>.i.<computed> (Dialog.27cf4128.js:7:3881) at At (entry.9a0f4e23.js:1:13068) at Be (entry.9a0f4e23.js:1:13146) at HTMLDivElement.n (entry.9a0f4e23.js:1:72052)

Reproducer

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

PrimeVue version

3.48.1

Vue version

3.x

Language

ALL

Build / Runtime

Vite

Browser(s)

Chrome

Steps to reproduce the behavior

Click on Dalog header to drag

Expected behavior

No response

@silvasamu silvasamu 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 8, 2024
@mertsincan mertsincan added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 9, 2024
@mertsincan mertsincan added this to the 3.49.0 milestone Feb 9, 2024
@mertsincan
Copy link
Member

Fixed in #5247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants