Skip to content

feat: Added callback prop for scroll position#155

Merged
tassoevan merged 3 commits intodevelopfrom
feat/ScrollEvents
Mar 5, 2020
Merged

feat: Added callback prop for scroll position#155
tassoevan merged 3 commits intodevelopfrom
feat/ScrollEvents

Conversation

@gabriellsh
Copy link
Member

Scrollable now accepts scrollCb that receives { top: bool, bottom: bool, left: bool, right: bool}.

The condition for each boolean is that content is hidden in that direction (eg. if scrolled down, top will be true).

@tassoevan tassoevan merged commit bb61e34 into develop Mar 5, 2020
@tassoevan tassoevan deleted the feat/ScrollEvents branch March 5, 2020 17:48
gabriellsh added a commit that referenced this pull request Mar 11, 2020
…into feat/buttons

* 'develop' of github.com:RocketChat/Rocket.Chat.Fuselage: (26 commits)
  v0.4.0
  feat!: CSS-in-JS for modifiers of Box (#164)
  perf: Avoid re-renders due to PropsContext (#154)
  feat: useMutableCallback (#156)
  chore: Add bug report template (#158)
  feat: Added callback prop for scroll position (#155)
  fix: Display name and prop types of Throbber component (#148)
  fix: Changed accordion item title proptype (#151)
  v0.3.0
  fix: actionId on action hooks (#149)
  v0.2.0 (#150)
  chore: Tabs Layout (#125)
  feat: Loading Component (#147)
  v0.2.0
  v0.2.0-alpha.30
  fix: Safari not triggering buttons anchors (#146)
  v0.2.0-alpha.29
  bump version (#145)
  v0.2.0-alpha.28
  fix: placeholder transition (#144)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments