Skip to content

针对 picker 的一点疑问 #863

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

Closed
FAKER-A opened this issue Aug 22, 2024 · 0 comments
Closed

针对 picker 的一点疑问 #863

FAKER-A opened this issue Aug 22, 2024 · 0 comments

Comments

@FAKER-A
Copy link

FAKER-A commented Aug 22, 2024

  1. 在RangePicker中当我点击面板中的 year-panel,或者month-panel 按钮的时候,会触发该按钮的 focus 事件,但是随即切换到到对应面板后,该按钮从dom中被移除,但是没有触发对应的blur事件。
  2. 我在react playground上模拟的时候,发现当元素从dom中被移除的时候,是会触发blur的。

还烦请大佬解惑一下,为什么二者的现象有所不一样 @zombieJ

image

20240822-140636.mp4

https://playcode.io/1979159

@FAKER-A FAKER-A closed this as completed Aug 27, 2024
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

No branches or pull requests

1 participant