Bacancy Technology
Bacancy Technology represents the connected world, offering innovative and customer-centric information technology experiences, enabling Enterprises, Associates and the Society to Rise™.
12+
Countries where we have happy customers
1050+
Agile enabled employees
06
World wide offices
12+
Years of Experience
05
Agile Coaches
14
Certified Scrum Masters
1000+
Clients projects
1458
Happy customers
Artificial Intelligence
Machine Learning
Salesforce
Microsoft
SAP
February 12, 2024
// Create a reference to the ScrollView const scrollViewRef = useRef(null); // Scroll handler const onScrollToTop = () => { if (scrollViewRef.current) { scrollViewRef.current.scrollTo({ x: 0, y: 0, animated: true }); //animated: true for smooth scrolling } }; // Render the ScrollView and Button <ScrollView ref={scrollViewRef}> </ScrollView> <TouchableOpacity onPress={onScrollToTop} > <Text>{“Go to Top”></Text> </TouchableOpacity>