Handle non-zero border on viewer container
@oscarlorentzon is already working on this.
Since Mar 21, 2017.
Assessment
This issue has not been assessed yet.
Description
When a non-zero border is used the library does not behave properly because the canvas is shifted and it is not entirely shown because of the fact that offset* values are used. This leads to the following when having top and left borders.
- Only top left of part photo is shown leading to faulty bouncing among other things.
- All DOM rendered items that use percentages like TagComponent render in the wrong place.
Relevant reference:
https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/Determining_the_dimensions_of_elements
Currently the library does not support non-zero border. Maybe a note about this in the docs is enough for now.
- Dominant language
- TypeScript
- Stars
- 516
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
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.
More from mapillary/mapillary-js
-
Missing tooltips Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mapillary/mapillary-js#639 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
mapillary/mapillary-js#638 ·
-
Transition mode Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mapillary/mapillary-js#633 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
mapillary/mapillary-js#623 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
mapillary/mapillary-js#618 ·
All issues in mapillary/mapillary-js
Similar issues
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Plugin stuck at "loading" on DSH 0.1.6-alpha.2 — turnTail list slot registration missing options.id Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
chrisparsons83/flexspotff#153 ·