Sticky offset not counting css position: sticky

Created on 22 February 2023, about 2 years ago
Updated 1 March 2023, about 2 years 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 about 2 years 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.71.5 2024