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

fix: dialog component drag behavior #13492

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

Algoritm211
Copy link
Contributor

@Algoritm211 Algoritm211 commented Aug 12, 2023

Defect Fixes

fix #13493

The main purpose of this PR - fix an issue with the drag of the dialog component when vertical or horizontal margins was applied to the p-dialog component. If the user adds a margin to the Dialog component will have unexpected behaviour during the dragging process. When the user tries to drag the popup to the left, it moves to the right.

Current behaviour

first-1_vQ5eaKWM.mp4

Behavior after the fix

second-2_EjrfYrzf.mp4

Also in scope of this PR were solved problems with types assertion in code

This issue linked to the fixes for PrimeVue and PrimeReact

@vercel
Copy link

vercel bot commented Aug 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
primeng-ssr-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 12, 2023 11:30am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Aug 12, 2023 11:30am

@Algoritm211
Copy link
Contributor Author

Hi @melloware. Could you please check out this bug please? I saw you have merged these changes in Prime React - primefaces/primereact#4760

@melloware
Copy link
Member

I only have permissions to PrimeReact and PrimeFaces so all I can do is code review this PR @Algoritm211

@Algoritm211
Copy link
Contributor Author

@melloware , thank you very much, @cetincakiroglu, maybe you can take a look please?

@Algoritm211
Copy link
Contributor Author

@cetincakiroglu, could you please merge it, before branch will change their state to outdated

@Algoritm211
Copy link
Contributor Author

@SoyDiego , thank you very much for your approve, do you have permission to merge this PR?

@SoyDiego
Copy link
Contributor

@SoyDiego , thank you very much for your approve, do you have permission to merge this PR?

Hi @Algoritm211, unfortunately I dont have permission to merge :(
Maybe @cetincakiroglu or @gucal can help

@Algoritm211
Copy link
Contributor Author

Guys, @cetincakiroglu @gucal, sorry for disruption, but maybe any updates?

@mertsincan mertsincan merged commit 17ee70e into primefaces:master Aug 29, 2023
1 check passed
@mertsincan
Copy link
Member

Thanks a lot for your contribution!

Best Regards,

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

Successfully merging this pull request may close these issues.

Component: p-dialog bad drag behavior
4 participants