React组件应加载onScroll并且必须隐藏滚动条?

时间:2017-12-17 11:54:08

标签: javascript html css reactjs onscrollchanged

import React, { Component } from 'react';
import './App.css';

import Home from './Components/Home/Home';
import Videos from './Components/Videos/Videos';
import Services from './Components/Services/Services';
import Clients from './Components/Clients/Clients';
import Footer from './Components/Footer/Footer';

class App extends Component {
  render() {
    return (
      <div className="App">
      <Home />
      <Videos />
      <Services />
      <Clients />
      <Footer />
      </div>
    );
  }
}

export default App;

我有一个反应应用程序,我完成开发他们,现在我有一个问题,谁给了我隐藏滚动条并加载其他组件,当他一个接一个地滚动

[它应该看起来像在图像中,但滚动条必须隐藏] [1]

  [1]: https://i.stack.imgur.com/DDnOl.jpg

0 个答案:

没有答案