mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: spreadsheet layout dropdowns focus on toggle functionality added (#3833)
This commit is contained in:
parent
34301e4399
commit
39136d3a9f
@ -67,6 +67,7 @@ export const CycleDropdown: React.FC<Props> = observer((props) => {
|
||||
|
||||
const toggleDropdown = () => {
|
||||
setIsOpen((prevIsOpen) => !prevIsOpen);
|
||||
if (isOpen) onClose && onClose();
|
||||
};
|
||||
|
||||
const dropdownOnChange = (val: string | null) => {
|
||||
|
@ -67,6 +67,7 @@ export const MemberDropdown: React.FC<Props> = observer((props) => {
|
||||
|
||||
const toggleDropdown = () => {
|
||||
setIsOpen((prevIsOpen) => !prevIsOpen);
|
||||
if (isOpen) onClose && onClose();
|
||||
};
|
||||
|
||||
const dropdownOnChange = (val: string & string[]) => {
|
||||
|
Loading…
Reference in New Issue
Block a user