skclusive / Skclusive.Material.Component

Port of Material-UI in C# for Blazor
https://skclusive.github.io/Skclusive.Blazor.Samples/Dashboard
MIT License
397 stars 55 forks source link

Portal - Cannot read property 'ownerDocument' of null #39

Open esso23 opened 4 years ago

esso23 commented 4 years ago

Portal does not work when using default values for parameters. Should use document.body as stated here in the docs: https://material-ui.com/api/portal/ Edit: I'm not entirely sure why this happens [2020-06-09T15:35:59.089Z] Error: There was an error applying batch 43. Uncaught (in promise) TypeError: Cannot read property 'ownerDocument' of null

skclusive commented 4 years ago

@esso23 apologies for the delayed response. covid-19 made my lifestyle occupied than ever. would you mind me trying out the Popper component using your code in a new branch?

esso23 commented 4 years ago

Sure, go ahead, but the branch already exists here though https://github.com/esso23/Skclusive.Material.Component/tree/tooltip

skclusive commented 4 years ago

thanks. so if have to use your branch do i have to fork and use? because i have not contributed in other repos. so your suggestion would be helpful.

esso23 commented 4 years ago

Well there's "Allow edits by maintainers" checked in the pull request, which means this:

"If checked, users with write access to skclusive/Skclusive.Material.Component can add new commits to your tooltip branch. You can always change this setting later."

skclusive commented 4 years ago

ok thanks. will try that out.

skclusive commented 4 years ago

@esso23 off topic. we have created gitter community for skclusive-ui here. https://gitter.im/skclusive-ui/community. hope you might be interested. would like to get your comments and feedbacks.