Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Performance: EQCSS timers, throttle #85

Copy link
Copy link

Description

@tobireif
Issue body actions

Hi Tom!

Please load the Grid demo
https://tobireif.com/demos/grid/
and set the window width to eg ~900px.

Click on "Layout 2", note the delay in the layout update.
Click on "Layout 1", note the delay in the layout update.

I did a perf profile, the perf hits involve EQCSS timers and EQCSS throttling.

I already tried to circumvent the throttling.

button.addEventListener("click", function(){
  EQCSS.apply();
});
[
  "DOMContentLoaded", "load", "resize", "orientationchange"
].forEach(function(e) {
  window.addEventListener(e, function(){
    EQCSS.apply();
  });
});

I hope you can offer an EQCSS option for disabling all delays, timers, throttling, etc.

Any tips in the meantime?

Thanks for EQCSS!

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.