Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

refactor: fixed scrolling to annotations #1417

Conversation

mfranzke
Copy link
Contributor

@mfranzke mfranzke commented Jan 30, 2022

Closes #1416 and #1408

The refactoring with 70fe9b6 within the file modal-viewer.js for #960 and #973 lead to this functionality breaking, as the parameters of the JavaScript plugin being used most likely to enable the smooth scrolling were used incorrectly.

Summary of changes:

Removed the incorrect attribute.

…ctionality

we've been using a JS plugin previously most likely to enable or polyfill the smooth scrolling behaviour.
@mfranzke mfranzke requested a review from sghoweri as a code owner January 30, 2022 14:05
@mfranzke mfranzke marked this pull request as draft January 30, 2022 14:26
@mfranzke mfranzke marked this pull request as ready for review January 30, 2022 14:40
@mfranzke mfranzke marked this pull request as draft January 30, 2022 15:14
@mfranzke mfranzke marked this pull request as ready for review January 31, 2022 10:29
@JosefBredereck JosefBredereck merged commit 228969f into pattern-lab:dev Jan 31, 2022
@mfranzke mfranzke deleted the refactor/fixed-scrolling-to-annotations branch January 31, 2022 17:20
antonia-rose pushed a commit to quelltexterin/nemo-uikit-workshop that referenced this pull request Apr 12, 2023
* refactor: fixed scrolling behaviour and replaced plugin by native functionality

we've been using a JS plugin previously most likely to enable or polyfill the smooth scrolling behaviour.

* refactor: removed the plugin / dependency

* chore: test for that method first of all

* chore: code reformatting

* Revert "chore: code reformatting"

This reverts commit 0f7f4f3.

* Revert "chore: test for that method first of all"

This reverts commit 795546f.

* Revert "refactor: removed the plugin / dependency"

This reverts commit a3522d1.

* Revert "refactor: fixed scrolling behaviour and replaced plugin by native functionality"

This reverts commit cb2102c.

* fix: removed the incorrect attribute
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

annotations: scrolling after interaction doesn't work
2 participants