overflow_view icon indicating copy to clipboard operation
overflow_view copied to clipboard

Add reverse parameter for overflow direction control

Open tddang-linagora opened this issue 1 month ago • 0 comments

Adds a new reverse parameter to OverflowView and OverflowView.flexible that allows overflow to occur from the start (left/top) instead of the end (right/bottom).

Features:

  • Reverse mode trims from left (horizontal) or top (vertical)
  • Overflow indicator appears at the start in reverse mode
  • Works with both fixed and flexible layout modes
  • Supports spacing in reverse mode

Performance:

  • Optimized reverse layout to O(k) complexity for fixed mode
  • Optimized reverse layout to O(n) complexity for flexible mode
  • Eliminated O(n²) operations from initial implementation

Tests:

  • Added comprehensive test coverage for reverse functionality
  • All existing tests continue to pass

Bump version to 0.6.0

tddang-linagora avatar Dec 05 '25 06:12 tddang-linagora