Create a scrolling tab, sticky sub-nav like Yelp

I’m trying to build a scrolling tab, sticky sub-navigation similar to Yelp (example attached). The only difference is that I need the sub-nav to stay hidden until the user scrolls past a certain point. I’ve tried following the instructions pasted below but I’m a very visual person and could use some extra guidance if anyone has suggestions.

Video Clip (2025-08-01 10_22_07).mp4

Below are screenshots of the rules I’ve set so far on the sub-nav:

Thanks so much in advance!


Instructions I’ve been following:

  • Place your header layer at the top of your design.

  • Ensure the content below the header is within a Scroll Container.

  • Set initial state:

    • Set the initial Opacity of your header layer to 0 (completely transparent) in its properties panel.

  • Add Detect Trigger for Scroll:

    • Select your Scroll Container.

    • Add a Detect trigger to the Scroll Container.

    • Choose the Scroll property to detect changes in.

  • Add Conditional Responses:

    • Condition 1: Show Header:

      • Add a Conditional response to the Detect trigger.

      • Set the condition: Scroll Container.Scroll > [your desired scroll point] (e.g., Scroll Container.Scroll > 200).

      • Add an Opacity response nested within this condition.

      • Target your header layer and set its Opacity to 100.

      • Consider adding an easing effect for a smoother transition (e.g., Ease out).

    • Condition 2: Hide Header (optional, for scrolling back up):

      • Add another Conditional response to the same Detect trigger.

      • Set the condition: Scroll Container.Scroll < [your desired scroll point] (e.g., Scroll Container.Scroll < 200).

      • Add an Opacity response nested within this condition.

      • Target your header layer and set its Opacity to 0.

      • Consider adding an easing effect for a smoother transition.

  • Make the Header Sticky (if desired):

    • If you want the header to become fixed at the top once it appears, you would also need to adjust its position. However, ProtoPie's "Sticky" position property usually applies from the start. To achieve a delayed stickiness, you might need a more advanced interaction involving moving the header layer to a fixed position when the scroll point is reached, or using a "Move" response to place it at y=0 relative to the screen.