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

Make cursor inherit pointer in ChipField when wrapped in <ReferenceField> #5186

Merged
merged 1 commit into from
Aug 25, 2020
Merged

Conversation

smeng9
Copy link
Contributor

@smeng9 smeng9 commented Aug 24, 2020

Hi,

This pull request improves some of the user experience when using <ChipField> as the child of <ReferenceField>.

The original implementation of the ChipField uses <div> to wrap around a <span>. When the ChipField is used in Referencefield, only the margins of that <div> will have cursor as pointer when moved to it, and the text in the ChipField will display default cursor. This is not very intuitive for user to click on that chip.

The patch will make <div> in ChipField inherit the cursor and offer better user experience.

Copy link
Contributor

@djhi djhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@djhi djhi added this to the 3.8.3 milestone Aug 25, 2020
@djhi djhi merged commit 3414748 into marmelab:master Aug 25, 2020
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.

2 participants