i want to stop scrolling when drag scroll bar to top or bottom.
try to turn off scroll.
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
The code block(s) should be formatted like:
/*You code here*/
If possible, add screenshots and/or videos about the current state.