dropdown
dropdown copied to clipboard
React Dropdown
Passing placement prop doesn't change the class name. Its always the default `bottomRight` `"dependencies": { "rc-dropdown": "^2.4.1" }` ` Actions `
Hello, here's how im using the `Dropdown` from `antd`: ```react const [menuVisible, setMenuVisible] = useState(false); const onInputFocus = useCallback(() => setMenuVisible(true), []); const onInputBlur = useCallback(() => setMenuVisible(false), []); ```...
初始浏览器打开,下拉列表选择后,拖拽浏览器,使其改变小。 下拉列表的内容不随浏览器的变小而变小。 但它随着浏览器的变大而变大!
file1 ``` import Button from 'rc-button'; const overlay = () => { return ( close ) } export default overlay ``` file2 ``` import Dropdown from 'rc-dropdown'; import Overlay from...
Since version 6 of `rc-menu` the dropdown with a `SubMenu` is broken.  
Interface is not exporting from index.ts
onVisibleChange is not fired when menu item is selected 这个问题在现在的最新版中仍然存在 https://codesandbox.io/s/jiben-antd492-forked-jldb1?fontsize=14&hidenavigation=1&theme=dark
getPopupContainer = () => document.documentElement let `dom-align` crash (Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.) should add some protect?
Wrapped my application in React.StrictMode and got Warning: Legacy context API has been detected within a strict-mode tree. The old API will be supported in all 16.x releases, but applications...
Hi, I see there are some ARIA attributes in place for menus. However, the dropdown can't be navigated with the keyboard, and the trigger button is not associated with the...