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(components): [tree] fix expand-icon.is-leaf prevent click event #13616

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

matto49
Copy link
Contributor

@matto49 matto49 commented Jul 18, 2023

Please make sure these boxes are checked before submitting your PR, thank you!

-[x] Make sure you follow contributing guide English | (中文 | Español | Français).

  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer to relative issues for your PR.

Description

unfold icon on leaf-node has wrong cursor although it is hidden.what's more,it covers the leaf-node and make it unable to trigger click event

Related Issue

Fixes #13613.

Explanation of Changes

add visibility:hidden to unfold icon in leaf-node

@pull-request-triage
Copy link

👋 @matto49, seems like this is your first time contribution to element-plus.

  • Please make sure that you have read our guidelines and code of conduct before making a contribution.
  • You can comment with /label Components:[component_name] to add a label for which component you are working on.
  • You may join our Discord for staying tuned.

@pull-request-triage pull-request-triage bot added 1st contribution Their very first contribution Needs Review labels Jul 18, 2023
@github-actions
Copy link

github-actions bot commented Jul 18, 2023

@github-actions
Copy link

Hello @matto49, thank you for contributing to element-plus, please see our guideline to see how to make contribution

@github-actions
Copy link

github-actions bot commented Jul 18, 2023

🧪 Playground Preview: https://element-plus.run/?pr=13616
Please comment the example via this playground if needed.

Copy link
Member

@ryuhangyeong ryuhangyeong left a comment

Choose a reason for hiding this comment

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

Opinion

I'm not sure if I should consider this a bug. 🤔

@btea

What do you think?

@btea
Copy link
Collaborator

btea commented Jul 18, 2023

I'm not sure, maybe I can ask other people for their opinions. cc @YunYouJun @tolking @chenxch

@matto49
Copy link
Contributor Author

matto49 commented Jul 19, 2023

Changes create situations where things behave differently than before.

Before

Element Plus Playground

After

Element Plus Playground

Copy link
Collaborator

@btea btea left a comment

Choose a reason for hiding this comment

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

@ryuhangyeong Doesn't seem to have any other effect, and it's better to keep the style consistent. 😄

@btea btea merged commit 493790f into element-plus:dev Jul 20, 2023
10 checks passed
@matto49 matto49 deleted the fix/tree branch July 21, 2023 01:45
@element-bot element-bot mentioned this pull request Aug 4, 2023
3 tasks
consultation-applio pushed a commit to consultation-applio/element-plus that referenced this pull request Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants