-
-
Notifications
You must be signed in to change notification settings - Fork 227
Tooltip fails to work with Material UI / Typescript / Next / Custom Server #172
Comments
@tashburn I'm in the process of upgrading Material-UI to react-popper@1. Let's see if this fix the problem. |
@oliviertassinari Fabulous. If you let me know when it's out, I'll test it with my sample repo. |
@oliviertassinari does this fix the OP problem? |
I don't know. |
@FezVrasta I can check once the new |
@tashburn any updates? |
@tashburn I plan on revamping the tooltip implementation this weekend on Material-UI side. It's a mess right now. I will most likely use popper.js directly. |
I'd rather get help here to make react-popper work in your case, but it's up to you 😢 |
@oliviertassinari Thanks for the update. I just checked to see if the new |
@FezVrasta Don't worry, the motivation for using popper.js directly is around the problems react popper solves. Digging into the react-popper implementation, I see an opportunity to make the Material-UI tooltip implementation simpler & more lightweight. It might not execute. I will see how that goes. |
I'm going to close this for inactivity, I suppose the problem has been fixed already. If not please reply here. |
Expected Behavior
Tooltips work.
Current Behavior
When trying to use the Material UI 1.0.0
Tooltip
with Next and Typescript, and visitlocalhost:3000
with a browser, the following error happens in the console:And the following error happens in the browser:
If I try
yarn add popper.js
, the following warning is produced and the errors above remain --Context
This is blocking my project.
Steps To Reproduce
git clone [email protected]:tashburn/issue-tooltip.git
cd issue-tooltip
yarn install
yarn dev
localhost:3000
in browserEnvironment
macOS (latest)
Chrome (latest)
custom server (express)
[email protected]
[email protected]
@material-ui/[email protected]
The text was updated successfully, but these errors were encountered: