GithubHelp home page GithubHelp logo

Comments (12)

ErtugKaya avatar ErtugKaya commented on July 17, 2024

Same here with Chrome 32. When you restore from maximized, sometimes labels are truncated as well.

When you resize browser by dragging, it's all fine.

from rrssb.

dbox avatar dbox commented on July 17, 2024

Thanks @awakenweb & @ErtugKaya. We were seeing this randomly as well but couldn't replicate. On the list!

from rrssb.

g105b avatar g105b commented on July 17, 2024

Chrome 32 Linux.

Screenshot attached.

notresponsive

from rrssb.

birla avatar birla commented on July 17, 2024

Facing the same issue, on Chrome 32.0.1700.107 m (Windows 7).

I was able to reproduce it every time by resizing the window using "Windows Key + Arrow". The problem is fixed as soon as the window is resized using the mouse (drag).

from rrssb.

joshuatuscan avatar joshuatuscan commented on July 17, 2024

This only seems to be an issue if you are go from mobile sized where small icon format is applied and use the browsers expand/maximize button to take it all the way to large.

The JS can't seem to keep up with such a fast change and proper button proportions aren't maintained when it reaches it's destination width.

This doesn't appear to be an issue when dragging the window with mouse. Not sure what the fix is at the moment aside from running the sizing functions again once more a couple of milliseconds after all resizing is complete.

from rrssb.

ErtugKaya avatar ErtugKaya commented on July 17, 2024

On resize, you should remove small class from buttons then decide if they should be small. For instance, add

$('.rrssb-buttons li.small').removeClass('small');

first at $(window).resize. This should fix the problem.

from rrssb.

birla avatar birla commented on July 17, 2024

@joshuatuscan Please look at the screenshot posted by @g105b, where the window is resized into a half from the maximized state. I'm able reproduce the same.

from rrssb.

dbox avatar dbox commented on July 17, 2024

@birla Are you just resizing browser or hitting a full screen button?

from rrssb.

birla avatar birla commented on July 17, 2024

@dbox I'm resizing the window using "Windows Key + Arrow" (right arrow, resulting in the window occupying half of my screen towards the right side) from a maximized state.

from rrssb.

ErtugKaya avatar ErtugKaya commented on July 17, 2024

I downloaded the source and confirm that

    $(window).resize(function () {
        $('.rrssb-buttons li.small').removeClass('small'); //add this here or in rrssbMagicLayout();
        rrssbMagicLayout(sizeSmallBtns);

        waitForFinalEvent(function(){
            rrssbMagicLayout(sizeSmallBtns);
        }, 100, "finished resizing");
    });

fixes the problem seen in @awakenweb ss. May fix other rendering problems as well, cannot manage to reproduce them today. Please check.

from rrssb.

joshuatuscan avatar joshuatuscan commented on July 17, 2024

I've added your code ErtugKaya. Thanks.

from rrssb.

ErtugKaya avatar ErtugKaya commented on July 17, 2024

You are welcome. Already 900 stars! Keep up the good work.

from rrssb.

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.