Code Monkey home page Code Monkey logo

intro-guide-js's People

Stargazers

 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

Forkers

simasrug

intro-guide-js's Issues

Allow element instead of selector

This is useful if I'm defining my elements declaratively from the elements themselves, e.g. with an angular directive. Passing an element is much easier for this.

Cannot scroll when intro guide is active

When a highlighted element is partly outside the viewport, then it should be possible to scroll to see it. Atm intro-guide is hijacking the scrolling. I get some ugly jittering when trying to scroll, and I cannot actually scroll at all. Tested in FF and Chrome.

Remove "touchstart" handlers

The prev and next buttons have "touchstart" handlers applied to them, which is problematic for two reasons:

  • it's not necessary as modern mobile browsers don't have a delay for click handlers
  • the way the template is built causes problems when the popper doesn't change position between two steps and you are on the first step and go to the second step: touchstart is triggered, which causes the popper to update with the second step and adds a prev button. The click from the first step now hits the prev button of the second step and you are back on the first step. Repeat infinitely ...

Demo

Could you add a demo page to show the result?

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.