Skip to content

Conversation

chiarfe
Copy link

@chiarfe chiarfe commented Oct 7, 2025

Description

Fixed a bug on desktop/web that occurred when extending the current selection by holding down the left mouse button and scrolling up or down with the mouse wheel.

By default, scrolling snaps back to the starting offset of the selection. This PR uses the existing DragTextSelection class to indicate whether the selection is moving up or down, allowing the scroll to move to the start or end accordingly.

Bug example:

output.mp4

Related Issues

Fix #2590

Type of Change

  • Feature: New functionality without breaking existing features.
  • 🛠️ Bug fix: Resolves an issue without altering current behavior.
  • 🧹 Refactor: Code reorganization, no behavior change.
  • Breaking: Alters existing functionality and requires updates.
  • 🧪 Tests: New or modified tests
  • 📝 Documentation: Updates or additions to documentation.
  • 🗑️ Chore: Routine tasks, or maintenance.
  • Build configuration change: Build/configuration changes.

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.

Text highlighting issue in FlutterFlow 3.27.3 on web
1 participant