Shin Yamamoto
999eeb47ba
Release v1.6.1
2019-06-29 08:33:24 +09:00
Shin Yamamoto
c10186e50a
Prevent an unexpected layout update on iOS13
...
On iOS13, UITraitCollection.userInterfaceStyle can be changed
from .light to .dark when an app transitions to the background.
2019-06-29 07:41:52 +09:00
Shin Yamamoto
7a1cbf99d4
Rename setUpLayout to activateLayout
2019-06-28 20:23:10 +09:00
Shin Yamamoto
656bbc1b1c
Remove workaround for tableView(_:didSelectRowAt:) issue
...
The workaround was added to avoid `tableView(_:didSelectRowAt:)` not
being called on first tap after the moving animation. However, it
doesn't only resolved the issue, but also has side effects.
For example, it affects the seamless scrolling in dragging up a panel from
half to full after bouncing it in the bottom buffer. The problem occurs
on "Tab2" sample of "Show Tab Bar".
Moreover the UITableView issue seems to be relieved on iOS 13.
Therefore I remove the workaround.
2019-06-19 09:39:56 +09:00
Shin Yamamoto
404fdb6496
Fix flushing a scroll indicator
...
1. A scroll indicator flushed at the first time when a tacking scroll view's
offset is zero and a user swipes down a panel at the top most position
2. A scroll indicator flushed at the first time when a tacking scroll view's
offset is zero and a user swipes up a panel at non top most position
2019-06-16 21:33:37 +09:00
Shin Yamamoto
573f355c15
Remove unnecessary code
...
There is not reason why the code is needed because the scroll tracking
logic is working well without it.
2019-06-16 21:32:35 +09:00
Shin Yamamoto
bd0c891795
Fix closing panel during internal scroll view bounce
...
Now the scroll tracking is working well without the scroll offset handling
at the top most position in the callback of a scroll pan gesture.
2019-06-14 14:00:55 +09:00
Shin Yamamoto
0f4c7503b1
Fix the crash while closeing via dragging
...
While closing the viewcontroller via dragging, calling floatPanelController's hide() will cause a crash.
2019-06-11 08:26:16 +09:00
Shin Yamamoto
2b05ea8d92
Release v1.6.0
2019-06-03 20:56:04 +09:00
Shin Yamamoto
d255e1ea4a
Call `super.updateConstraints()' as the final step
2019-06-03 20:51:58 +09:00
Shin Yamamoto
6fcb817fb8
Add the rubberbanding behavior for top & bottom buffer ( #144 )
...
* Add sample code
* Fix updateInteractiveTopConstraint()
* {min,max}Y variables are confusing because it's not a value of coordinate Y,
but a constant value from the `interactiveTopConstraint`.
2019-06-01 16:19:09 +09:00
Sven Tiigi
cf70929204
Added ContentInset Property on SurfaceView API ( #200 )
...
* Added Show ContentInset to Example application
2019-06-01 13:46:18 +09:00
Shin Yamamoto
1bdf0f5b78
Remove unnecessary frame update
2019-05-25 16:07:22 +09:00
Shin Yamamoto
6696d7f71d
Fix UIVisualEffectView on iOS10
...
This regression has happened since v1.2.0
2019-05-25 16:07:22 +09:00
Shin Yamamoto
c354d8ea92
Modify FloatingSurfaceView.cornerRadius
2019-05-25 16:07:22 +09:00
Shin Yamamoto
9562cdaccb
Clean up surface props
2019-05-25 16:07:22 +09:00
Shin Yamamoto
bcfff8a33a
Add FloatingPanelViewTests
2019-05-25 16:07:21 +09:00
Shin Yamamoto
2f23520330
Improve ViewTests.test_WarningRetainCycle()
2019-05-25 16:06:56 +09:00
Shin Yamamoto
c67b56e7af
Clean up code
2019-05-17 22:54:47 +09:00
Shin Yamamoto
bf39f07691
Use lazy properties in the surface view
2019-05-16 10:43:41 +09:00
Shin Yamamoto
05478fa8fa
Avoid calling {lock,unlock}ScrollView() unexpectedly
2019-05-11 15:16:58 +09:00
Shin Yamamoto
d123afc3f7
Fix a crash
2019-05-11 13:40:58 +09:00
Shin Yamamoto
b1b3c15300
Merge pull request #201 from SCENEE/fix-scroll-lock
...
Fix scroll lock
2019-05-11 12:51:53 +09:00
Shin Yamamoto
9b5459af8e
Fix the content height changed by a container inset
2019-05-11 12:11:04 +09:00
Shin Yamamoto
96d2ea57f5
Clean up prop naming
2019-05-11 11:53:05 +09:00
Shin Yamamoto
b78c5f4ece
Decouple between grabberTopPadding and containerTopInset
2019-05-11 11:02:06 +09:00
Shin Yamamoto
341522ccaa
Fix grabberhandle corner
2019-05-11 11:02:06 +09:00
Shin Yamamoto
833628e42f
Update the content view height by containerTopInset
2019-05-11 11:02:06 +09:00
Shin Yamamoto
50c1c6fdc9
Fix the dependency on ordering prop updates
2019-05-11 11:02:06 +09:00
Shin Yamamoto
213386e822
Fix the sign of containerTopInset
2019-05-11 11:02:06 +09:00
Shin Yamamoto
17317ed274
Merge pull request #194 from nderkach/master
...
Grabber handle and top offset customizations
2019-05-11 10:58:25 +09:00
Shin Yamamoto
652ae8c967
Remove a condition to prevent animation cancel
...
Because I can't confirm any effect to fix that selecting a table view cell
sometimes isn't working after flicking to half from full.
2019-05-04 16:15:10 +09:00
Shin Yamamoto
ec0e8cbdaf
Avoid any tap gesture recognition while dragging a panel
2019-05-04 16:03:19 +09:00
Shin Yamamoto
c15d4c9035
Fix the moving animation's interruption
2019-05-04 16:03:19 +09:00
Shin Yamamoto
194a197e83
Fix a scroll lock after moving a panel
2019-05-04 14:46:39 +09:00
Shin Yamamoto
7d5f03bb6e
Release v1.5.1
2019-04-25 16:18:59 +09:00
Nikolay Derkach
60f41e168f
configure grabber handle and top container offset
2019-04-24 14:07:46 +02:00
Shin Yamamoto
680b16aa25
Merge pull request #185 from SCENEE/fix-tap-abort
...
Fix a touch abort on the interaction interrupted
2019-04-24 14:54:20 +09:00
Shin Yamamoto
2394c03dca
Polish a doc comment
2019-04-20 16:00:22 +09:00
Shin Yamamoto
c8f211f2bf
fix typo
2019-04-19 08:56:54 +09:00
Shin Yamamoto
9076ba8933
Prevent an UIScrollViewDelayedTouchesBeganGestureRecognizer failed
...
It causes tableView(_:didSelectRowAt:) not being called on first tap
after an nimation. The change hasn't fixed the problem completely, but
it works better.
2019-04-19 08:46:51 +09:00
Shin Yamamoto
e4808516aa
Merge pull request #190 from SCENEE/fix-surface-mask
...
Fix surface mask
2019-04-17 19:21:56 +09:00
Shin Yamamoto
2b8d29759a
Rename the remaining backgroundView variable
2019-04-16 22:53:06 +09:00
Shin Yamamoto
8e4b56ff17
Fix the doc comment
2019-04-16 07:51:27 +09:00
Shin Yamamoto
835ec0c3a0
Replace 'backgroundView' with 'containerView'
2019-04-15 21:05:16 +09:00
Shin Yamamoto
d2dce0b6f8
Add a doc comment
2019-04-15 21:00:19 +09:00
Shin Yamamoto
e1185fda93
Merge pull request #188 from SCENEE/allow-subclassing
...
Allow FloatingPanelController subclassing
2019-04-11 22:31:37 +09:00
Shin Yamamoto
4b640f4f01
Add updateBorder()
2019-04-11 11:25:11 +09:00
Shin Yamamoto
8743c5efd0
Fix the mask bounds of the surface view
...
- Move `contentView` into `backgroundView` to fix the mask
- Also fix the mask problem on iOS 10-11. See for detail,
https://github.com/SCENEE/FloatingPanel/issues/109 .
2019-04-11 11:21:16 +09:00
Federico Zanetello
7e3d720720
Fix FloatingPanelBehavior.swift typos
2019-04-08 08:26:30 +07:00