Git Product home page Git Product logo

luxy.js's People

Contributors

dependabot[bot] avatar min30327 avatar mineo-okuda avatar pocchi 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  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  avatar  avatar  avatar  avatar

luxy.js's Issues

Updating the Targets for new PJAX Page Load

Hello.

I'm currently using Luxy in combination with SWUP. I'm trying to figure out what the best approach is for updating Luxy Targets on a new PJAX Page load. Currently, my home page (or whatever page is loaded first) works as expected and the 'luxy-el' have a nice parallax effect to them. However, when I navigate to another page, the 'luxy-el' don't update.

Is it as simple as re-initializing Luxy on each load or is there a better approach to just updating the Targets?

Thanks!

How to disable luxy?

Hi, is there a way to disable luxy? I need to have the native scroll behavior on mobile.
Thanks!

Elements animate immediately as the page scrolls and not based on viewport

I notice that an element quite far down the page begins its scrolling transition immediately and not relative to the view port.

For example, an element placed half way down a long page will begin at offset 0. Then by the time you scroll to that element it has moved quite far from its original position. Is there a way to make it relative to the view port?

Not sure if I am making sense.

Luxy is stopping my page transitions with SWUP.js

I'm using Lux with SWUP.js a page transition library with cdn's at in my footer.php file like this...

    <!-- Swup -->
    <script src="https://unpkg.com/swup@latest/dist/swup.min.js"></script>  
    <script type="text/javascript">
        const swup = new Swup();
    </script>
    <!-- Luxy -->
    <script src="https://cjh.sfo2.cdn.digitaloceanspaces.com/Smooth-Scroll/luxy.js"></script>
    <script type="text/javascript"> 
        luxy.init({
            wrapper: '#luxy',
            wrapperSpeed:  0.08
        });
    </script>

For some reason Luxy is stopping my page transitions. I really love both of these libraries and would like to keep both in my project. Any ideas?

Position: Sticky not possible?

I've been trying out Luxy and it's really good! The only problem I'm noticing is that my sticky elements seem to revert to acting like they're position:relative. I usually get this behaviour if a parent object is set to overflow:hide so wasn't sure if Luxy does this, or if there's any other reason they don't work?

refresh or remove luxy.js

Hi,
First of all, thanks for this plugin, really useful.
I try to found a function for remove ( more refresh) the luxy.js when it's use with a plugin as barbajs
re-call the luxy.init() after a transition simply broke it and work only once ( at the first loading page )
How i can figure it with your plugin ?
Thanks a lot by advance

Parallax Elements Move Rough on Safari

Might have been a recent safari update but it's not performing smoothly.

Parallax elements sharply vibrate while scrolling, before jumping to their end position sharply after inertia has stopped.

Would be great if this is looked into! Great library.

Issue on PHP and Google Chrome

Hello!

please ignore my previous issues

I've been developing in Firefox Developer Edition. Luxy is controlling the page inertia beautifully.

But on Chrome I'm noticing that when I scroll halfway down the page the scroll begins to get choppy.

I know that Firefox's Quantum CSS engine is super fast but is there anyway to optimize Luxy on Chrome? I'm developing in Wordpress and running Luxy through a cdn.

Thanks!

How to center the parallax elements

The parallax effect works only to the whole site as wrapper. A hidden element at the end of the site will move while scrolling and the position by entering the screen is wrong. How to trigger/set parallax movement to different sections at the center of the page?

Luxy is disabling my page transitions with SWUP

I'm using Lux with SWUP.js a page transition library with cdn's at in my footer.php file like this...

`
<script src="https://unpkg.com/swup@latest/dist/swup.min.js"></script>
<script type="text/javascript">
const swup = new Swup();
</script>

<!-- Luxy -->
<script src="https://cjh.sfo2.cdn.digitaloceanspaces.com/Smooth-Scroll/luxy.js"></script>
<script type="text/javascript"> 
    luxy.init({
        wrapper: '#luxy',
        wrapperSpeed:  0.08
    });
</script>`

For some reason Luxy is stopping my page transitions. I really love both of these libraries and would like to keep both in my project. Any ideas?

luxy.min.js issue in our wordpress website.

hello,

we are using luxy.min.js for a small animation on the home page slider, it works well but the issue is that this script adds a wrapper to the whole page so that no sticky element will work inside that wrapper. hence our sticky menu doesnt work also certain other elements on the site dont load properly when the script is on if we remove code all other things work well.

is there a ways out where we can restrict the script to a specifc layout or section on a webpage so it doesnt interfere with the other compoenets of the site an pages.

here is our webstie link : https://tinyurl.com/yyrmjdnr

any kind of help will be really appreaciated,

Importing issue in react js project

I cannot use your incredible smooth scrolling library due to errors while importing in react js project. Please guide me to implement this in my project.
Screenshot 2023-02-27 172158

Scroll bug with chrome and safari navigation bar on IOS

Thanks for luxy.js !

There is a visual bug when the browser bottom navigation bar is toggled on ios (chrome or safari). The scroll freeze during the mobile browser menu animation. Try the luxy examples page with an iphone for seen the bug.

Have a nice day

Second usage of luxy.init() problem

Hey, I'm trying to use your cool library in my single page application home project, but I have some problems with smooth scrolling when calling .init() second time when different page with #luxy element loads.

Scroll partially works, it calculates transform, but it stops smoothing effect - whereas parallax works fine so I think there is problem with just an animation of scrolling.

Tried to fix the bug in the code but no success - I'd be grateful for some advices or ideas.

Thanks!

Turn off Luxy.js in Firefox

Hi,

Thanks for making such a wonderful resource.

Is there any way of turning Luxy off in Firefox? Firefox has is own native smooth scroll and luxy.js makes the native smooth scroll quite janky?

Many thanks

Emily

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.