Giter Site home page Giter Site logo

any86 / any-scroll Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 3.0 25.88 MB

:rocket: 模拟scrollview, 支持pc/移动端, 让实现Tab/Slider等组件轻而易举.

Home Page: https://any86.github.io/any-scroll/index.prod.html

License: MIT License

JavaScript 20.78% TypeScript 79.22%
requestanimationframe scroll scrollview vue

any-scroll's Introduction

any-scroll's People

Contributors

any86 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

any-scroll's Issues

【overflowX、Y】关闭了纵向滚动还是可以看到 竖滚动条

问题描述

我本来是想试着用 any-scroll 做一个 Tab 组件的 标题头的,想让有多个 Tab title 的时候 能滚动起来,但是看到滚动时仍然有竖直滚动条

就是如果我在 any-scroll 组件的范围内鼠标有上下的运动 ,还是会显示 右边的竖向滚动条,这不好,不是我想要的效果。

image

(我的 any-scroll中是一个 横向的 ul li )

因为我看到您的官方文档中 关闭了 横向滚动后,我即使上下拖动,也不会出现竖向滚动条

image

使用时的代码部分:

<any-scroll :overflowX="false" :overflowY="true" width="90vw" height="38px" >
      <ul class="tab-title-container">
        <li
          v-for="(title,index) in titles"
          :key="index"
        >
            {{title}}
        </li>
      </ul>
    </any-scroll>

希望效果

竖直方向没有滚动条。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.