visgl / visgl/deck.gl

[Bug] onViewStateChange callback not called when increasing the size of the view

Open
#9,530 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
14.6k
Forks
2.3k
Avg merge
2d 9h
Merged PRs (30d)
42

Description

Steps to Reproduce
  1. navigate to https://codesandbox.io/p/sandbox/xhgxcx
  2. open the console
  3. increase the width of the map's panel
Expected Behavior

I expect to see the view state change event logged in the console but there isn't any log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the linked CodeSandbox reproduction, opening the console, and increasing the map panel width. Trace the view-state change behavior from that reproduction; done means the onViewStateChange event is logged when the view size increases.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.