Sticky offset not counting css position: sticky

Created on 22 February 2023, over 1 year ago
Updated 1 March 2023, over 1 year ago

Problem/Motivation

Sticky offset not counting for css "position: sticky".

Steps to reproduce

Create a toolbar on top of the page with "position: sticky" in styles.

πŸ› Bug report
Status

Needs review

Component

Form Builder Core

Created by

πŸ‡ͺπŸ‡ͺEstonia ram4nd Tallinn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ram4nd
  • Status changed to Needs review over 1 year ago
  • πŸ‡ͺπŸ‡ͺEstonia ram4nd Tallinn

    Go through parents and their siblings to get elements that have been made sticky. I think this is better approach than is used with .is-sticky where distance from top is calculated.

  • πŸ‡ͺπŸ‡ͺEstonia ram4nd Tallinn

    Add if condition to validate that "top" is set on sticking.

Production build 0.69.0 2024