Account for momentum when hiding minimal shell (#3740)
* Add optional momentum events to scroll context * If there is a velocity, don't snap until momentum end * Don't show bar on scroll down * Rm onMomentumBegin
This commit is contained in:
@@ -123,6 +123,9 @@ export function ProfileLabelsSectionInner({
|
||||
onScroll(e, ctx) {
|
||||
contextScrollHandlers.onScroll?.(e, ctx)
|
||||
},
|
||||
onMomentumEnd(e, ctx) {
|
||||
contextScrollHandlers.onMomentumEnd?.(e, ctx)
|
||||
},
|
||||
})
|
||||
|
||||
const {labelValues} = labelerInfo.policies
|
||||
|
||||
Reference in New Issue
Block a user