mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #10108 from binarygit/transparent-bg-in-ff
Fix: Transparent background of 'Complete Order' area on Firefox mobile
This commit is contained in:
@@ -15,7 +15,7 @@ export default class extends Controller {
|
||||
this.containerTarget.style.bottom = "-1px";
|
||||
const observer = new IntersectionObserver(
|
||||
([e]) => {
|
||||
e.target.classList.toggle("sticked", e.intersectionRatio < 1);
|
||||
e.target.classList.toggle("sticked", e.intersectionRatio <= 1);
|
||||
},
|
||||
{ threshold: [1] }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user