Giter Club home page Giter Club logo

Comments (18)

lizzie avatar lizzie commented on July 18, 2024

circular 触发循环切换的条件是, 设置了 circular: true, 且效果是 scrollx 或 scrolly, 但目前确实除了 Carousel 的 circular 有用外, 其他都没用, 原因是内部设了个 _isNext 变量控制, 这个写的有问题, 我查下看.

from switchable.

nuintun avatar nuintun commented on July 18, 2024

@lizzie Thanks!

from switchable.

lizzie avatar lizzie commented on July 18, 2024

@newtonniu http://aralejs.org/switchable/examples/switchable.html 第二个例子

from switchable.

nuintun avatar nuintun commented on July 18, 2024

@lizzie 可以了,thanks~

from switchable.

nuintun avatar nuintun commented on July 18, 2024

@lizzie 有个新BUG,就是Slide设置circular后从第一个直接切换到最后一个的时候会出现一个白屏!

from switchable.

lizzie avatar lizzie commented on July 18, 2024

有demo么? 看文档的示例是没有白屏啊...

from switchable.

leoner avatar leoner commented on July 18, 2024

以前是有个白屏的, 最新的版本应该解决了呀.

from switchable.

lizzie avatar lizzie commented on July 18, 2024

确实还有个问题, 从第一个直接切换到最后一个, scrolly动画, 是从上切到下的. 正常是从下切到上的

from switchable.

nuintun avatar nuintun commented on July 18, 2024

demo不好弄,直接上图吧!
image

from switchable.

lizzie avatar lizzie commented on July 18, 2024

是不是你CSS 设的不对?

from switchable.

nuintun avatar nuintun commented on July 18, 2024

不是,结构按着文档来的,未改之前是正常的~

from switchable.

nuintun avatar nuintun commented on July 18, 2024

@lizzie 而且这个白的不是一直在,是切换过来后图片才突然出现!

from switchable.

nuintun avatar nuintun commented on July 18, 2024

这是结构,scrolly测试也有这个问题!
image

from switchable.

lizzie avatar lizzie commented on July 18, 2024

@newtonniu 是否可以把页面发到我邮箱? 看图没法定位原因... [email protected]

from switchable.

nuintun avatar nuintun commented on July 18, 2024

@lizzie 已发,查了一遍,的确css问题,囧,Demo里面有说明,你看看吧!

from switchable.

lizzie avatar lizzie commented on July 18, 2024

你可以修改 CSS :

/**
 * 问题已发现,是这个hidden照成的,这里设置hidden是修复IE7及以下浏览器没有隐藏的bug
 */
.slidepic { overflow: hidden; }

.ui-switchable-content 这个div, 宽高是不需要 overflow: hidden的, 应该是其父级设定宽高且 overflow: hidden;
你试下看~

from switchable.

lizzie avatar lizzie commented on July 18, 2024

按上述去掉之后, IE6,7怎么还是有白屏...aralejs/switchable 示例也有同样的问题, 我查下看.

from switchable.

nuintun avatar nuintun commented on July 18, 2024

@lizzie 嗯~

from switchable.

Related Issues (20)

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.