Comments (9)
Yeah, that's correct. I get same bug here as well. Not sure what could be causing that, but I'll try to get that fixed pretty soon 👍
from parchment.
I suspect this might have something to do with a bug I just fixed in #96, but I'm not 100% sure. At least I'm not able to reproduce the jumping after that fix. Could try out the latest master branch and see if you're still seeing this?
from parchment.
Unfortunately, bug is still there. I have 12 icons each 40 points in width, selected icon is 60 points in width.
I scroll the content controller one by one and selected paging menu item changes one by one, and when it reaches the middle, menu should scroll itself a bit, but it's slightly delayed and here is the flicker.
from parchment.
But you are right, there is no longer bug in your IconExample.
I will investigate why it is still there in our project.
from parchment.
Ok, I have noticed that it has definitely become better, however this flickering behavior is still there.
And the heavier the content controllers the buggier the behavior.
In your IconExample content controllers are empty, so you will hardly see any flicker.
In our case we have 12 collectionViews with hundreds of cells in each, so this does have an impact.
I reduced the number of cells to one per each collectionView and noticed that the bug almost disappeared.
from parchment.
And in order to see this bug one should scroll controllers rather fast one by one.
from parchment.
Managed to figure out what was causing this; seems to be a performance issue with the way I was updating the content offset when the user is scrolling. Should be fixed it #106 ✌️
Let me know if this fixes your issue!
from parchment.
Yes, now it works smoothly. Thanks!
from parchment.
Awesome 👍
from parchment.
Related Issues (20)
- outdated code error in PagingSizeCache HOT 3
- Getting Fatal error while using storyboard more than 2 . Unable to reload 3rd storyboard table view HOT 1
- please support indicator fixed width HOT 2
- Position of tableview is reset after tab change in header above menu example HOT 1
- Using UIAlertController in per Item HOT 3
- Navigation bar disappear when presented in a sheet. HOT 3
- About swiftUI PageView content scrollview automatically slides to the top HOT 2
- Menu item error when Archive HOT 3
- Privacy Manifest HOT 2
- Propagate .options changes when SwiftUI View is updated HOT 3
- How to fix pre-loading? I want to disable it HOT 3
- Regarding the problem that PageContentView will be reloaded when you slide it left or right. HOT 3
- Incorrect index when tab menu or swipe
- PrivacyInfo not in podspec
- Intercept PagingMenuItem click and scroll to index manually
- Why collectionView.window is nil if the pagingController is not visible ? HOT 2
- how can I set font and selected font in swiftui? HOT 1
- for the swiftUI page view, when data changes, the UI can't be changed inside each page
- Add Border on all four sides of Menu Container HOT 1
- not visible selection of paging item (if its at the end of list) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parchment.