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

Cascader showsearch property breaks hover interactivity in displayRender. #16887

Closed
1 task done
KrFeher opened this issue May 30, 2019 · 4 comments
Closed
1 task done
Assignees
Labels

Comments

@KrFeher
Copy link

KrFeher commented May 30, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. Check if hover works (it won't)
  2. Now comment out ShowSearch property
  3. Try hover again (it works)

What is expected?

For displayRender interactivity to continue working

What is actually happening?

It doesn't work.

Environment Info
antd 3.19.1
React 16.9.0
System Windows 10
Browser Chrome Version 72.0.3626.121

This line is causing it to override "position: static" from ant-cascader-input class with relative.

&-picker-show-search &-input.@{ant-prefix}-input {

Removing this however stops the Showsearch to work.

@KrFeher
Copy link
Author

KrFeher commented May 31, 2019

Hi, is this going to be picked up / fixed ?

@KrFeher
Copy link
Author

KrFeher commented Jun 4, 2019

Hello?

@afc163
Copy link
Member

afc163 commented Nov 4, 2021

It is a thorny problem.

@afc163
Copy link
Member

afc163 commented Apr 19, 2024

It is fixed in 5.x now: https://stackblitz.com/edit/react-tugdgz?file=demo.tsx

@afc163 afc163 closed this as completed Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants