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

Height is causing Cannot read properties of null (reading '0') error #74

Open
Nklann opened this issue Dec 4, 2023 · 0 comments
Open

Comments

@Nklann
Copy link

Nklann commented Dec 4, 2023

When configuring the BingMapsReact props, if I don't set the height or set the height to "auto", "100%", or any pixel value below 420px, I am receiving the error shown below when trying to open the Radial Menu to change the map view:

Unhandled Runtime Error
TypeError: Cannot read properties of null (reading '0')

Call Stack
r._adjustSlotText
https://r.bing.com/rp/X0_TMcGQC7zntMW6Vi6WyFCNg-U.br.js (1:123275)
r.showDropDownMenu
https://r.bing.com/rp/X0_TMcGQC7zntMW6Vi6WyFCNg-U.br.js (1:117604)
t._onMouseEnter
https://r.bing.com/rp/X0_TMcGQC7zntMW6Vi6WyFCNg-U.br.js (1:165956)
Object.onMouseEnter
https://r.bing.com/rp/X0_TMcGQC7zntMW6Vi6WyFCNg-U.br.js (1:181284)
HTMLDivElement.u
https://r.bing.com/rp/mLLNMN31k1B6sTH9H7fCgKYukSg.br.js (1:18119)
t.
https://r.bing.com/rp/mIacWs8_crQzFfDVp3oAu1voxBk.br.js (1:23148)

If I set the height to 500px, the menu opens without errors but 500px height will not work with the component I am trying to develop.

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