Skip to content

[Bug report] extended_text/lib/src/extended/text_overflow_mixin.dart:461:16 range.end != maxOffset "can' find no overflow" #174

@msxenon

Description

@msxenon

Version

15.0.0

Platforms

Web

Device Model

Mac

flutter info

[✓] Flutter (Channel stable, 3.29.2, on macOS 15.3.1 24D70 darwin-arm64, locale en-US) [1,846ms]
    • Flutter version 3.29.2 on channel stable at fvm/versions/3.29.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c236373904 (18 hours ago), 2025-03-13 16:17:06 -0400
    • Engine revision 18b71d647a
    • Dart version 3.7.2
    • DevTools version 2.42.3

How to reproduce?

  1. Open the example/lib/pages/custom_text_overflow_demo.dart L50, and paste this _buildText(position: TextOverflowPosition.middle, maxLines: 1),. or just set maxLines to 1.
  2. now start the example on web and try to resize from full screen to minimum available width.
  3. check the text is truncated and not returning back even when there is available width.
Image Image Image

Logs

Example code (optional)

Contact

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions