Unable to scroll to last item on TableView
I have downloaded the sample then I changed numberOfRowsInSection to 20. there is an issue on the last cell of table view (Hidden).
Thank you for #1 report of this library! I acknowledge this issue and I'm working to fix it now.
@faris-mobile89 I fixed this issue on v1.0.0. Could you please try it?
Hi! I've also been following this (pretty awesome btw) and I can confirm that we are able to scroll to the last item now. I have a question though, how could we avoid having extra blank space at the bottom when using a tabBar in iPhones X and up? It works fine in square screen devices.
Hello, @jaimeealmanza! Thank you for your report. I didn't know the layout issue. I try to investigate that. If possible, I would like you to attach a screen shot when the issue happens. it will be much helpful for me.
@jaimeealmanza Could you try to use 'fix-surface-view-height' branch?
pod 'FloatingPanel', :git => 'https://github.com/scenee/FloatingPanel.git', :branch => 'fix-surface-view-height'
@SCENEE I'm afraid that branch makes it clip the last cell under the tab bar. Attached screenshots for the current release and for 'fix-surface-view-height' branch.
@jaimeealmanza Thank you for your screen shots! I will fix it.
I fixed the above issue at 1d2be48 commit on 'fix-surface-view-height' branch! It's a problem of Main.Storyboard in Examples/Maps. Could you please try it again?
The reason why the issue also happens on main branch is the same, but the change on Main.Storyboard in Examples/Maps is different a bit. (It's to change the first item of the bottom constraint of the visual effect view from SafeArea.Bottom to Superview.Bottom)
Thanks, @faris-mobile89 and @jaimeealmanza.
I'm currently having a similar problem. I open a panel in 'half' size without tracking the tableview, so it stays at half, when scrolling. Then it is not possible to scroll to the last tableview items.
When I open the panel in 'full' everything is fine...
It's by design because 'full' means a panel shows full of a content VC and the design follows Apple Maps and Stocks behavior. If you would show whole of a table view in 'half' screen. You can do it as below.
- A content VC has a table view (shouldn't use UITableViewController)
- Customize top/left/right/height constraints of a table view to fit half screen height
- The height constraint should be modified in the content VC whether there is safeArea bottom inset or not.
What event should I use to handle the "Height change"?
I'm sorry there is no way to handle the change. But I think your issue(or request) will be related to and resolved by Intrinsic height feature(Ref #50, #57). What do you think?