You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Readonly select behavior like in 4.x without text filtering, blinking cursor and etc.
What is actually happening?
Input field became focused and allows text filtering for predefined sizes.
Environment
Info
antd
5.15.1
React
React ^16
System
Windows 11 (23H2 - 22631.3527)
Browser
Microsoft Edge for Business Version 125.0.2535.51 (Official build) (64-bit)
Please, provide API ability to disable filtering and keep single-tap combo box / select behavior. Looks like "readonly" is missing in 5.x. and it cause such behavior.
Reproduction link
https://ant.design/~demos/components-pagination-demo-more
Steps to reproduce
Click on page-size combo box
What is expected?
Readonly select behavior like in 4.x without text filtering, blinking cursor and etc.
What is actually happening?
Input field became focused and allows text filtering for predefined sizes.
Please, provide API ability to disable filtering and keep single-tap combo box / select behavior.
Looks like "readonly" is missing in 5.x. and it cause such behavior.4.x input tag:<input type="search" autocomplete="off" class="ant-select-selection-search-input" role="combobox" aria-expanded="false" aria-haspopup="listbox" aria-owns="rc_select_2_list" aria-autocomplete="list" aria-controls="rc_select_2_list" aria-activedescendant="rc_select_2_list_0" aria-label="Page Size" readonly unselectable="on" value="" style="opacity: 0;" id="rc_select_2">
5.x input tag:<input type="search" autocomplete="off" class="ant-select-selection-search-input" role="combobox" aria-expanded="false" aria-haspopup="listbox" aria-owns="rc_select_0_list" aria-autocomplete="list" aria-controls="rc_select_0_list" aria-label="Page Size" value="" id="rc_select_0">
The text was updated successfully, but these errors were encountered: