Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix overflow scroll behaviour on table columns #211

Merged
merged 10 commits into from
Aug 12, 2024
Merged

Fix overflow scroll behaviour on table columns #211

merged 10 commits into from
Aug 12, 2024

Conversation

phndiaye
Copy link
Member

@phndiaye phndiaye commented Aug 7, 2024

What does this PR do?

This prevents the scroll from stopping after a dragged column intersects w/ the sticky columns block. Instead when the drag's position reaches the boundaries of the table, it just scrolls to the beginning or end of the container.

What are the observable changes?

🧑‍💻 Developer Heads Up

⚡ Since we are using Ember Octane now:

  • Feel free to migrate existing components to Glimmer Components.
  • Write new ones exclusively in it.

Useful Resource : Ember Octane vs Classic Cheat Sheet

Good PR checklist

  • Title makes sense
  • Is against the correct branch
  • Only addresses one issue
  • Properly assigned
  • Added/updated tests
  • Added/updated documentation
  • Migrated touched components to Glimmer Components
  • Properly labeled

Additional Notes

@phndiaye phndiaye requested a review from a team as a code owner August 7, 2024 12:26
@phndiaye phndiaye requested review from Xegushu, aprentout and nathalieArnoux and removed request for a team August 7, 2024 12:26
Copy link

linear bot commented Aug 7, 2024

<div
class="hypertable__table hypertable__table--v2"
{{did-insert this.setupInnerTableElement}}
{{on-bottom-reached this.onBottomReached}}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved the overflow check here as the container scrolling changed

@phndiaye phndiaye merged commit e98632a into master Aug 12, 2024
3 checks passed
@phndiaye phndiaye deleted the pn/vel-3656 branch August 12, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants