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

Move cursor not showing if Dialog is not resizable #2064

Closed
hstevanoski opened this issue May 25, 2021 · 0 comments
Closed

Move cursor not showing if Dialog is not resizable #2064

hstevanoski opened this issue May 25, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@hstevanoski
Copy link

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] support request

Current behavior
If resizable={false} is passed as a prop to a Dialog component, the move cursor is not shown when one hovers above the dialog header.
On the other hand, passing draggable={false} has no effect on the move cursor at all.
This most probably is due to the cursor: move; css property being put in the wrong css class (.p-dialog-resizable):

Expected behavior
The move cursor should not be shown only when dialog movement is disabled via the draggable={false} prop.

Minimal reproduction of the problem with instructions
Pass resizable={false} to any Dialog component.

@mcandu mcandu self-assigned this Jun 25, 2021
@mcandu mcandu added the Type: Bug Issue contains a defect related to a specific component. label Jun 25, 2021
@mcandu mcandu added this to the 6.5.0-rc2 milestone Jun 25, 2021
mcandu added a commit that referenced this issue Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants