Skip to content

Update: Matching dropdown uses trickle helper for layout (fixes #207)#208

Closed
joe-replin wants to merge 3 commits intomasterfrom
issue/207
Closed

Update: Matching dropdown uses trickle helper for layout (fixes #207)#208
joe-replin wants to merge 3 commits intomasterfrom
issue/207

Conversation

@joe-replin
Copy link
Copy Markdown
Contributor

Update

  • Matching dropdown now queries Adapt.trickle.getTrickleButtonHeight fallback to 0)
  • Scopes measurement to the current block/article container
  • Maintains existing keyboard/mouse interactions

Testing

  • With trickle enabled: verify dropdown flips upward when space is constrained by trickle button
  • Without trickle installed: dropdown behavior unchanged
  • Keyboard: Up/Down/Enter/Space/Escape still work

Dependencies

Dependent on this trickle PR: adaptlearning/adapt-contrib-trickle#248

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👀

Removed unused state variables for list height, button width, and button offset. Simplified calculations for dropdown positioning.
@joe-replin joe-replin changed the title Update: matching dropdown uses trickle helper for layout (fixes #207) Update: Matching dropdown uses trickle helper for layout (fixes #207) Dec 22, 2025
@oliverfoster
Copy link
Copy Markdown
Member

Cannot reproduce in vanilla adapt. Suggest to be an issue with the course rather than Adapt?

@joe-replin joe-replin closed this Jan 9, 2026
@github-project-automation github-project-automation Bot moved this from Needs Reviewing to Recently Released in adapt_framework: The TODO Board Jan 9, 2026
@joe-replin joe-replin deleted the issue/207 branch January 9, 2026 19:09
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.

Dropdown should reserve space for trickle before deciding direction

4 participants