fluttercommunity / fluttercommunity/font_awesome_flutter

Icon jumps when moved

Open
#263 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
905
Forks
293
PR merge metrics
No merged PRs in 30d

Description

On Web when the FaIcon widget is moved (e.g. by AnimatedPositioned) the icon jumps up/down by 1 pixel, slightly out-of-sync with the position change.

**To Reproduce**
Steps to reproduce the behavior:
1. On Flutter Web place FaIcon on AnimatedPositioned and move it.
2. See the jump

**Expected behavior**
The icon should not jump after its position has changed.

**Screenshots**
Focus your sight on the volume icon (from Font Awesome). For reference the "4K" icon on the left uses a nomarl Text widget and it doesn't jump.

https://github.com/fluttercommunity/font_awesome_flutter/assets/35242233/6ce6a454-4726-45fa-905b-8f3c6d8b7f72

**Desktop

- Browser: Chromium

Only icons with horizontal aspect ratio (like the volumeHigh or userGroup) seems to be affected.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.