penpot icon indicating copy to clipboard operation
penpot copied to clipboard

Rectangle properties incorrectly inherited with 2-level nested components

Open extremegf opened this issue 3 years ago • 1 comments

Steps to reproduce

  1. Go to penpot and import attached project file. wrong property inheritance.zip
  2. Change color of the upper rectangle to some other shade of red.
  3. Click update main component.
  4. Observe that the lower pair of rectangles got black instead of your selected color.
  5. Click reset overrides on the rectangle pair.
  6. Observe that they receive the correct color.

Expected behavior

The lower rectangles should inherit upper rectangle color, not the root color.

Actual behavior

Pair becomes black - that is the color of the root rectangle.

Desktop (please complete the following information):

  • Ubuntu 20.04
  • Chrome 103.0.5060.53

Environment (please complete the following information):

  • https://design.penpot.app/

extremegf avatar Jul 29 '22 15:07 extremegf

Hi @extremegf we are currently working on a deep rework of the components functionality.

We will manage this issue in Taiga https://tree.taiga.io/project/penpot/issue/3957

elhombretecla avatar Aug 09 '22 09:08 elhombretecla

Hello @extremegf. We are reviewing issues and this one seems to be solved. I close the issue, but if you experience it again, feel free to reopen it and give more info.

hirunatan avatar Jan 20 '23 10:01 hirunatan

Thanks!

On Fri, Jan 20, 2023 at 11:43 AM Andrés Moya @.***> wrote:

Closed #2120 https://github.com/penpot/penpot/issues/2120 as completed.

— Reply to this email directly, view it on GitHub https://github.com/penpot/penpot/issues/2120#event-8320281527, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANUVMIMTO5ZFQFV6A2W56TWTJT4FANCNFSM55BFXNDQ . You are receiving this because you were mentioned.Message ID: @.***>

extremegf avatar Jan 20 '23 14:01 extremegf