[Bug]Loading deckgl in openlayers requires two clicks to use it normally
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
Description
As the title says, after loading deckgl in openlayers, when running in Chrome browser, it is found that the map needs to be clicked twice to drag the map normally, but everything is normal after removing deckgl
Flavors
- Script tag
- React
- Python/Jupyter notebook
- MapboxOverlay
- GoogleMapsOverlay
- CARTO
- ArcGIS
Expected Behavior
I hope that after loading deckgl and running it, I can directly click and drag the map to operate, instead of having to click a second time to use it.
Steps to Reproduce
- Load Deckgl
- Open the browser and browse
- Clicking or dragging the map for the first time will not work
- You must click a second time for it to work properly
Environment
- Framework version: deck.gl@9.1.14, vue@3.4.15, openlayers@7.1.1
- Browser: Chrome 140.0
- OS: none
Logs
none
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the interaction with deck.gl@9.1.14, vue@3.4.15, and openlayers@7.1.1 in Chrome 140. Compare the map's first click and drag with deck.gl loaded and removed, then trace the event handling involved in the integration. Done means the map responds to the initial click and drag without requiring a second click.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100