-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listbrowser: firefoxonly manifests in Firefoxonly manifests in Firefoxc: renderingUI glitches reported at the engine/skia or impeller rendering levelUI glitches reported at the engine/skia or impeller rendering levele: web_htmlHTML rendering backend for WebHTML rendering backend for Webf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.found in release: 1.18Occurs in 1.18Occurs in 1.18found in release: 1.19Found to occur in 1.19Found to occur in 1.19frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specifically
Description
Steps to Reproduce
I have a set of Flat buttons in a Column. Its defined as follows
class _ToolButton extends FlatButton {
_ToolButton(
{@required BuildContext context,
@required IconData icon,
@required Function onPressed,
@required String translationKey,
@required Color iconColor})
: assert(icon != null),
assert(translationKey != null),
super(
shape: ContinuousRectangleBorder(
side: BorderSide(color: onPressed == null ? _DISABLED_COLOR : SCROLL_VIEW_BKG_COLOR, width: 2), borderRadius: ROUNDED_BUTTON_RADIUS),
color: SCROLL_VIEW_BKG_COLOR,
highlightColor: BLUE_100,
disabledColor: Colors.white,
textTheme: ButtonTextTheme.accent,
onPressed: onPressed,
child: SizedBox(
width: 90,
height: 90,
child: Column(crossAxisAlignment: CrossAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.spaceAround, children: <Widget>[
Icon(
icon,
size: 50,
color: iconColor,
),
TranslatedText(translationKey, style: DefaultTextStyle.of(context).style.copyWith(fontSize: 14), textAlign: TextAlign.center)
])));
}
There are around 5 of these buttons in the following Column
Column(mainAxisAlignment: MainAxisAlignment.start, children: <Widget>[
SizedBox(height: 5),
TranslatedText("simple.tools", style: Theme.of(context).textTheme.headline4),
Expanded(
child: Column(mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [
BUTTONS HERE
]))])
For some reason, I am getting a weird layout rendered in Web version but only in Firefox. Image below. You can see the bottom right corners increasingly covered with each button.
1- Deploy app in Web Version flutter run -d chrome
2- Open it in firefox
Expected results:
The button should be rendered as full rounded rectangles as per below

Logs
flutter run -d chrome --verbose log output
[✓] Flutter (Channel beta, 1.18.0-11.1.pre, on Mac OS X 10.15.4 19E287, locale en-NL)
• Flutter version 1.18.0-11.1.pre at /usr/local/Cellar/flutter/0.5.1
• Framework revision 2738a1148b (9 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.3)
• Android SDK at /Users/mustuhfa/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.5, Build version 11E608c
• CocoaPods version 1.9.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 45.1.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[!] IntelliJ IDEA Community Edition (version 2018.2.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[!] VS Code (version 1.44.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (4 available)
• Nexus 5 • 02c534edd0240c60 • android-arm • Android 9 (API 28)
• SM T580 • 52007eeafeb1b44f • android-arm • Android 8.1.0 (API 27)
• Web Server • web-server • web-javascript • Flutter Tools
• Chrome • chrome • web-javascript • Google Chrome 81.0.4044.138
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listbrowser: firefoxonly manifests in Firefoxonly manifests in Firefoxc: renderingUI glitches reported at the engine/skia or impeller rendering levelUI glitches reported at the engine/skia or impeller rendering levele: web_htmlHTML rendering backend for WebHTML rendering backend for Webf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.found in release: 1.18Occurs in 1.18Occurs in 1.18found in release: 1.19Found to occur in 1.19Found to occur in 1.19frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specifically
