fix(react-select): FilterBox focus event and adhoc filter popup height (#9933)

* fix(react-select): FilterBox focus event and adhoc filter popup height

* Fix flacky cypress test

* Use focus instead of click
This commit is contained in:
Jesse Yang
2020-05-27 15:15:32 -07:00
committed by GitHub
parent 1b72907b18
commit 359ea8825d
4 changed files with 51 additions and 32 deletions

View File

@@ -204,7 +204,7 @@ describe('AdhocFilterEditPopoverSimpleTabContent', () => {
const { wrapper, onHeightChange } = setup();
wrapper.instance().multiComparatorComponent = {
_selectRef: { select: { control: { clientHeight: 57 } } },
select: { select: { controlRef: { clientHeight: 57 } } },
};
wrapper.instance().handleMultiComparatorInputHeightChange();