font_awesome_flutter icon indicating copy to clipboard operation
font_awesome_flutter copied to clipboard

Icon jumps when moved

Open Gieted opened this issue 2 months ago • 0 comments

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.

Gieted avatar May 01 '24 11:05 Gieted