Code Monkey home page Code Monkey logo

Comments (4)

bySabi avatar bySabi commented on September 21, 2024 1

Well maybe utils functions could be refactored and extract an API from there.
I open to suggestions and PR are very welcome.

from react-scrollchor.

edencorbin avatar edencorbin commented on September 21, 2024 1

I'd love to see this too, got here looking to do a scrollToAnchor based on a select box selection.... which I don't think is possible, correct me if I'm wrong.

from react-scrollchor.

bySabi avatar bySabi commented on September 21, 2024

Right now is not possible scrollToAnchor programmatically, utils functions are tight to the Component implementation. I'm evaluating options cause extract this functionality break Component semantics and boundaries. Maybe a separate library is more appropriate.

Still open to suggestions ...

from react-scrollchor.

bySabi avatar bySabi commented on September 21, 2024

New release, 4.0.0 add some changes relate to this issue:

  • tracking window.location.hash for enable browser history
  • Childrenless component for use together with programmatically API
  • update example with simulateClick API

I will close this for now. Please, reopen is needed

from react-scrollchor.

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.