Skip to content

Should flipping flip the offsets too? #106

Open
@dandv

Description

@dandv

In this configuration, what should happen to the offset if the tether is flipped?

  targetAttachment: 'bottom right',
  targetOffset: '16px 0',
  constraints: [{
    to: 'window',
    attachment: 'together',
  }]

Here's a CodePen demonstrating the issue. I would expect the vertical offset to flip as well, but instead it remains constant:

flip should flip the offsets too

Flipping the offset would be useful if the offset is used to allow for an arrow - the arrow will be flipped, and it needs the space provided by the offset:

flip should flip the offsets too - use case

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions