Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid prop children[1] of type boolean supplied to FloatingMenu #41

Open
CryptishApps opened this issue Aug 1, 2020 · 1 comment
Open

Comments

@CryptishApps
Copy link

Hi, thanks for the project!

I'm getting an error in Microsoft Edge. Works fine in Chrome. Any idea?

image

<FloatingMenu slideSpeed={500} direction="up" spacing={8} isOpen={isOpen} > <MainButton iconResting={<i className="fabicon fa fa-plus" aria-hidden="true"></i>} iconActive={<i className="fabicon fa fa-close" aria-hidden="true"></i>} backgroundColor="black" onClick={() => setOpen(!isOpen)} size={40} /> {browserName === "Chrome" && <ChildButton icon={<img className="fabicon" src="/images/cast.svg" style={{width: '24px'}}/>} size={40} onClick={() => chromeCast()} /> } <ChildButton icon={<i className="fabicon icon-music" aria-hidden="true"></i>} size={40} onClick={() => playAudio()} /> </FloatingMenu>

@CryptishApps
Copy link
Author

Also, backgroundColor never seems to do anything on the MainButton or ChildButton? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant