Upgrade Chakra, remove tooltip flicker workaround

This commit is contained in:
Emi Matchu 2021-02-22 19:00:47 -08:00
parent c539471afa
commit 281fdccb89
3 changed files with 460 additions and 441 deletions

View file

@ -7,7 +7,7 @@
"@apollographql/graphql-playground-html": "^1.6.24",
"@auth0/auth0-react": "^1.0.0",
"@chakra-ui/icons": "^1.0.4",
"@chakra-ui/react": "^1.2.1",
"@chakra-ui/react": "^1.3.3",
"@chakra-ui/theme-tools": "^1.0.3",
"@emotion/react": "^11.1.4",
"@emotion/styled": "^11.0.0",

View file

@ -1,5 +1,5 @@
import React from "react";
import { ClassNames, Global, css } from "@emotion/react";
import { ClassNames } from "@emotion/react";
import {
AspectRatio,
Button,
@ -1078,15 +1078,6 @@ function SpeciesFacesPicker({
</Box>
</Flex>
)}
<Global
// Workaround for https://github.com/chakra-ui/chakra-ui/issues/3257,
// which causes tooltip hover flicker.
styles={css`
.chakra-portal [data-popper-placement] {
pointer-events: none;
}
`}
/>
</Box>
);
}

888
yarn.lock

File diff suppressed because it is too large Load diff