keplergl / keplergl/kepler.gl

[Bug] Data overlay is shifted while using Safari in iPhoneX (portrait mode)

Open
#881 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

**Describe the bug**
Data overlay is shifted while using Safari in iPhoneX (portrait mode), but it is correct in landscape mode.
[hexbin.html.txt](https://github.com/keplergl/kepler.gl/files/4007757/hexbin.html.txt)

**To Reproduce**
Steps to reproduce the behavior:
1. Setup an HTML server (or file server) , output the HTML file as the attachment.
2. Use Safari on iPhoneX to connect to the web to view the HTML page.
3. Move map to Taiwan area
4. Switch to 3D mode in portrait mode
5. And you will see the mismatched points.

**Expected behavior**
See the correct position of data overlay on map.

**Screenshots**
One is the portraint screenshot, the other is the landscape screenshot.

**Smartphone (please complete the following information):**
- Device: iPhoneX
- OS: iOS 13.3
- Browser: Safari

![Image from iOS (4)](https://user-images.githubusercontent.com/1061756/71552489-21fdb900-2a39-11ea-9cd7-6462a0e799a5.jpg)
![Image from iOS (3)](https://user-images.githubusercontent.com/1061756/71552491-2629d680-2a39-11ea-8b71-3d79f5ce5f4a.jpg)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by serving the attached hexbin.html.txt and reproducing the mismatch in Safari on an iPhone X in portrait mode, then compare it with landscape mode. Trace the map's 3D data-overlay positioning and identify the relevant source and tests from there. Done means the overlay aligns correctly in both orientations.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.