Scroll down to show searchbar

I’d like to create a searchbar that will be normally hidden and can be showed when the user scroll/pull down, as in the discussion Hide on init, scroll down to show, but with ionic6 the “start-y” parameter doesn’t work. How can I do this? Is possible?