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

[Bug] Failed to set an indexed property on 'CSSStyleDeclaration': Index property setter is not supported when showing/changing/map #2473

Open
m50d opened this issue Jan 24, 2025 · 0 comments
Labels

Comments

@m50d
Copy link

m50d commented Jan 24, 2025

Description

Possibly a "you're holding it wrong" issue, but reporting in case it's something that can be easily fixed at this level.

When I pass a style parameter with a list to my Map component, a react change that adds the component triggers an error akin to the one described in https://stackoverflow.com/a/66053268 . I think this is due to

...props.style

Expected Behavior

No response

Steps to Reproduce

https://codesandbox.io/p/sandbox/weathered-wave-sf7pp6

Environment

  • Framework version: react-map-gl@7.1.8
  • Map library:
  • Browser:
  • OS:

Logs

No response

@m50d m50d added the bug label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant