fix(TreeSelect): display blank issue fix
parent
aa211fd789
commit
458f46f0b4
|
@ -23,7 +23,11 @@ const Filter: FunctionalComponent<FillerProps> = (
|
|||
};
|
||||
|
||||
if (offset !== undefined) {
|
||||
outerStyle = { height: `${height}px`, position: 'relative', overflow: 'hidden' };
|
||||
outerStyle = {
|
||||
height: `${height}px`,
|
||||
...(offset === 0 ? {} : { position: 'relative' }),
|
||||
overflow: 'hidden',
|
||||
};
|
||||
|
||||
innerStyle = {
|
||||
...innerStyle,
|
||||
|
|
Loading…
Reference in New Issue