Skip to content

bug: prototype interaction position of artboard not respected #2660

@keunes

Description

@keunes

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as expected

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions