Skip to content

Add scrolling to tag suggestions dropdown - #78

Open
trek-e wants to merge 2 commits into
rubenwe:masterfrom
trek-e:fix/tag-suggestions-overflow
Open

Add scrolling to tag suggestions dropdown#78
trek-e wants to merge 2 commits into
rubenwe:masterfrom
trek-e:fix/tag-suggestions-overflow

Conversation

@trek-e

@trek-e trek-e commented Jan 23, 2026

Copy link
Copy Markdown

Summary

  • Fixes Scrolling and adding tags #58
  • When many tag suggestions appear, the dropdown could extend below the visible screen area
  • Now the suggestions area has a max height and scrolls vertically

Changes

Components added dynamically at runtime:

  • ScrollRect for vertical scrolling
  • ContentSizeFitter for proper content sizing
  • LayoutElement for max height constraint (default 200px, configurable in Inspector)
  • Mask for proper scroll clipping

Also resets scroll position to top when suggestions change.

Test plan

  • Type a partial tag that matches many existing tags
  • Verify suggestions dropdown doesn't exceed ~200px height
  • Verify suggestions can be scrolled with mouse wheel
  • Verify arrow key navigation still works
  • Verify scroll resets to top when typing new characters

🤖 Generated with Claude Code

trek-e and others added 2 commits January 23, 2026 18:39
- STACK.md - Technologies and dependencies
- ARCHITECTURE.md - System design and patterns
- STRUCTURE.md - Directory layout
- CONVENTIONS.md - Code style and patterns
- TESTING.md - Test structure
- INTEGRATIONS.md - External services
- CONCERNS.md - Technical debt and issues
Fixes rubenwe#58

When many tag suggestions appear, the dropdown could extend below the
visible screen area. Now the suggestions area:

- Has a configurable max height (default 200px)
- Scrolls vertically when content exceeds max height
- Resets scroll position to top when suggestions change

Components are added dynamically at runtime:
- ScrollRect for vertical scrolling
- ContentSizeFitter for proper content sizing
- LayoutElement for max height constraint
- Mask for proper scroll clipping

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scrolling and adding tags

1 participant