Open deakjahn opened 4 years ago
Hi @deakjahn I can see the behaviour you are describing with the latest master screenshot
but it seems to behave normally with the latest master on mobile
Thank you
Expected behavior by customer: render with truncated Text widget
@mariamhas A DomCanvas issue, CanvasKit works all right.
Shows white background in HTML when running on beta
channel, it seems to be fixed on the dev
and master
.
Text isn't truncated in HTML or canvaskit
Verified this issue using latest versions and observed that the behavior still persists using html renderer.
Using canvaskit, it renders properly as below:
The issue persists on web mobile. Is there any workaround?
The issue persists on web mobile. Is there any workaround?
Did you ever find a workaround? I'm facing this issue specifically on web mobile as well.
It seems I did. I have to look into the source code to find it, though.
The issue persists on web mobile. Is there any workaround?
Did you ever find a workaround? I'm facing this issue specifically on web mobile as well.
Here we go, this was my "temporary" fix:
Tab(child: Text('Settings', overflow: TextOverflow.ellipsis, maxLines: 1)),
The issue persists on web mobile. Is there any workaround?
Did you ever find a workaround? I'm facing this issue specifically on web mobile as well.
Here we go, this was my "temporary" fix:
Tab(child: Text('Settings', overflow: TextOverflow.ellipsis, maxLines: 1)),
Thank you so much, much appreciated :)
Steps to Reproduce
DefaultTabController
with relatively long labels.Expected results:
Correct display.
Actual results:
Labels with overflown texts will show an extra white background.
Doc
``` [√] Flutter (Channel beta, 1.18.0-11.1.pre, on Microsoft Windows [Version 10.0.18363.836], locale en-US) • Flutter version 1.18.0-11.1.pre at E:\Android\flutter-beta • Framework revision 2738a1148b (10 days ago), 2020-05-13 15:24:36 -0700 • Engine revision ef9215ceb2 • Dart version 2.9.0 (build 2.9.0-8.2.beta) [√] Android toolchain - develop for Android devices (Android SDK version 29.0.1) • Android SDK at e:\Android\Sdk • Platform android-29, build-tools 29.0.1 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04) • All Android licenses accepted. [√] Chrome - develop for the web • CHROME_EXECUTABLE = e:\Android\chrome.bat [√] Android Studio (version 3.6) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 45.1.1 • Dart plugin version 192.8052 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04) [√] Connected device (2 available) • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 81.0.4044.138 • No issues found! ```