Skip to content

Commit

Permalink
fix(dropdown): change initial position for dropdown component
Browse files Browse the repository at this point in the history
  • Loading branch information
Tokky0425 committed Dec 9, 2019
1 parent dfb904a commit 6d73c0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Dropdown/DropdownContentInner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export const DropdownContentInner: FC<Props> = ({ triggerRect, children }) => {
const theme = useTheme()
const [isMounted, setIsMounted] = useState(false)
const [contentBox, setContentBox] = useState<ContentBoxStyle>({
top: 'auto',
left: 'auto',
top: '0',
left: '0',
maxHeight: '',
})
const wrapperRef = useRef<HTMLDivElement>(null)
Expand Down

0 comments on commit 6d73c0a

Please sign in to comment.