Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: prototype interaction position of artboard not respected #2660

Closed
keunes opened this issue Dec 13, 2022 · 3 comments
Closed

bug: prototype interaction position of artboard not respected #2660

keunes opened this issue Dec 13, 2022 · 3 comments
Assignees
Labels
Milestone

Comments

@keunes
Copy link
Contributor

keunes commented Dec 13, 2022

Steps To Reproduce

  1. Create a 'main' artboard that is high enough (to ensure scrolling is needed)
  2. Add a horizontal bar (to represent a menu)
  3. Add an object, e.g. a square (to represent a menu item)
  4. Group the two elements and activate 'Fix when scrolling' on the group
  5. Create a small 'secondary' artboard with an object
  6. Via prototyping, add an 'interaction' for the object in the menu bar (added in step 3), with
  • trigger: mouse enter
  • action: open overlay
  • destination: secondary artboard (added in step 5)
  • position: any other than top-left
  1. initiate prototype play and hover the 'menu item' with the interaction

Expected behavior

The secondary artboard appears in the top left

Actual behavior

The secondary artboard appears at the selected place

Screenshots or video

Prototyping on the main artboard object:
Screenshot_2022-12-13_18-07-43

Object on the secondary artboard:
Screenshot_2022-12-13_18-08-31

Result:
Screenshot from 2022-12-13 19-09-44

Desktop (please complete the following information)

Version 108.0.5359.71 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)

Smartphone (please complete the following information)

No response

Environment (please complete the following information)

SAAS host

Frontend Stack Trace

No response

Backend Stack Trace

No response

Additional context

Interestingly, if for the 'Object on the secondary artboard' (2nd screenshot above) I activate 'Fix when scrolling', the selected prototype element position is respected:
Screenshot from 2022-12-13 19-11-42

@keunes keunes added the bug label Dec 13, 2022
@EsterLatorre
Copy link

Hello kenues,

Thanks for reporting the bug. I've logged it on taiga and you can check the progress here: https://tree.taiga.io/project/penpot/issue/4610. We'll work to have it fixed soon

Have a good day!

@pabloalba pabloalba self-assigned this Dec 27, 2022
@pabloalba
Copy link
Contributor

Hi! This is fixed, and will be released soon!

@superalex superalex added this to the 1.17.0 milestone Dec 28, 2022
@pikhosh
Copy link

pikhosh commented Jan 6, 2023

I ran into this problem too and had no idea it was related to the "Fix when scrolling" option! I was upset that I needed to switch to another alternative, but now I'm happy to see that the problem can be fixed and it's also fixed in Penpot :) Thank you for your efforts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants