-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forced reflow - Performance bottleneck #1274
Comments
Can you explain bit more |
#1204 describes the same problem. |
Accessing react-slick/src/utils/innerSliderUtils.js Line 102 in 5591aab
which is used by the inner slider when state updates are made react-slick/src/inner-slider.js Line 216 in be952ad
I'm not 100% sure, but I think we could optimize this behavior by recycling the |
Hello aripekkako, |
I'm not a maintainer of this repository. I think your best bet is to
|
I think this won't be the solution because we are talking about a performance problem in I tried to wrap the content of |
Oh. Missed that from the screenshots. Getting properly rid of the initial layout forcing
|
^^ @akiran did you get a chance to look at this? |
Any more news on this issue? |
Any update on a fix? |
@justinstander This repo has not been updated for 4 months and last release was 6 months ago. No activity from the maintainer on any issues or PRs during the last 4 months. |
Just tried this component for a project and styling does not work. Haven't noticed repo is not being maintained anymore. Sad I had to dig through issues to find this as a comment. |
It's been a while since the issue has been up there, leading to question. Is |
Any update on this? |
Suffering from the exact same issue. |
Still getting this issue :[ |
Same issue... |
+1 |
same issue |
Same here, nothing new on this? |
Hello akiran,
The slider has been an amazing addition for many projects of ours. Thank you.
We were trying to optimize all our apps using several metrics.
A case in which the slider seems to trigger expensive forced reflow of our layouts which is impacting the performance on a huge scale.
We wanted to know if it is such that this issue can be fixed or our implementation of it is not the optimal in a way.
getWidth: function getWidth(elem) { return elem && (elem.getBoundingClientRect().width || elem.offsetWidth) || 0; },
Can this be optimized?
Thank you for your time.
The text was updated successfully, but these errors were encountered: