Comments (8)
@hstdt @mohanthakur92 I'm having same issue, did you guys solve it?
No, you can try this one. https://github.com/pujiaxin33/JXPagingView
from twitterprofile.
@OfTheWolf can you please help me in this?
from twitterprofile.
@mohanthakur92 Can you share a minimum sample project to replicate this please?
from twitterprofile.
@OfTheWolf ok i will share the sample code. Basically in the bottom tabs i used tableview and when i reload tableview and scrolls it tableview moves to top (its insets changes)
from twitterprofile.
I believe it's caused by updateOverlayScrollContentSize
in ContainerViewController
, but my fix still not perfect.
bottom tableview/scrollview content size changed(estimatedRowHeight tableView when scrolls to bottom, or load more) --> overlayScrollView content size change --> overlayScrollView scrolls --> bottom tableview/scrollview scrolls(here causes Scrolls to Top even if revert contentOffset.Y, and drag scroll gesture will be interrupted)
private func updateOverlayScrollContentSize(with bottomView: UIView) {
let contentOffsetY = overlayScrollView.contentOffset.y
self.overlayScrollView.contentSize = getContentSize(for: bottomView)
if contentOffsetY > 0 {
// revert contentOffsetY after contentSize changes, but still not perfect
self.overlayScrollView.setContentOffset(.init(x: 0, y: contentOffsetY), animated: false)
}
}
from twitterprofile.
@hstdt @mohanthakur92 I'm having same issue, did you guys solve it?
from twitterprofile.
When I use table view with static cell size everything works fine but when I use table view with dynamic cell size, the scrolling is lagging specially when scrolling up
from twitterprofile.
@hstdt @mohanthakur92 I'm having same issue, did you guys solve it?
No, you can try this one. https://github.com/pujiaxin33/JXPagingView
Thank you, I've used it it's great
from twitterprofile.
Related Issues (20)
- Don't scroll when using reloadPagerTabStripView() HOT 3
- Question, How to using load more bottom scroll HOT 6
- App hangs for a sometime after calling api and master scrollview messes up HOT 1
- Tap geustrue of UIView back button is not fired HOT 2
- It is an error to release a paused or stopped property animator. Property animators must either finish animating or be explicitly stopped and finished before they can be released.
- EffectView Stuck when change the tabbar HOT 2
- Odd scroll jumping when navigating from profile HOT 1
- No scrolling - When using a scrollview in Bottom controller in your sample project. HOT 1
- Allow customizing `panView` in view controllers
- Blur effect block the cover image view when the app enters from background (or lock and unlock screen) HOT 1
- scrollViewWillEndDragging HOT 1
- UICollectionView scrolls horizontally in header not working HOT 1
- how to handle refresh through bottomVC bounce
- RTL Support HOT 1
- The table view cell not get deselect after touch HOT 1
- Sticky View at bottom page
- How do you controll the navigation buttons.
- Cannot touch the overlayScrollView indicators HOT 1
- Readme for using the library
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 twitterprofile.