This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Billy Roh
Posted Oct 01 - Read on Facebook

What's the best way to implement a table view with sticky headers for each of its sections?

8 Comments

Blaine Billingsley

This would be a great example to include on the framer js site!

Koen Bok

- Put a bunch of rows in a layer with scroll enabled
- Listen to the scroll event
- See what the offset is with scrollX and decide which header to show and at what position

Aaron Carámbula

does that break on a touch device? or does scroll enabled now mean framer scroll?

Koen Bok

Since iOS8 the native scrolling throws the scroll event while you scroll (not just when stopped).

Billy Roh

I wonder if might be worth it to have a built-in snippet for common patterns? (eg. tables, navigation bar, tab bar, etc)

Billy Roh

Or examples for replicating common mobile UI patterns would be great too!

Aaron Carámbula

woah that's a great reason to like ios8

Aaron Carámbula

should studio simulate mobile drag scrolling then? (like chrome does)

Read the entire post on Facebook