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] Enabling picking breaks ColumnLayer #8219

Closed
7 tasks
felixpalmer opened this issue Oct 23, 2023 · 2 comments
Closed
7 tasks

[Bug] Enabling picking breaks ColumnLayer #8219

felixpalmer opened this issue Oct 23, 2023 · 2 comments
Labels

Comments

@felixpalmer
Copy link
Collaborator

Description

As reported here: #8193 (comment)

Flavors

  • Script tag
  • React
  • Python/Jupyter notebook
  • MapboxOverlay
  • GoogleMapsOverlay
  • CartoLayer
  • ArcGIS

Expected Behavior

No response

Steps to Reproduce

Run website locally and observe http://localhost:3000/docs/api-reference/layers/column-layer fails to render. Removing pickable: true in website/src/doc-demos/layers.js shows the layer.

Environment

  • Framework version: deck.gl@9
  • Browser:
  • OS:

Logs

No response

@felixpalmer
Copy link
Collaborator Author

I've done some more debugging and it is possible to get picking working in the Layer Browser, by changing some of the props (e.g. extruded) such that ColumnLayer._updateGeometry is triggered in updateState. So it seems to be some issue with creating resources on first draw rather than a problem specifically with picking

@ibgreen
Copy link
Collaborator

ibgreen commented Oct 31, 2023

One wonder's what has changed in v9 to change the timing or resource creation...

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

2 participants