Fix sensitive chat bubble on iOS 18
This commit fixes an issue with the chat bubble view where it would unexpectedly trigger the reaction emoji keyboard when scrolling or swiping, which became specially sensitive on iOS 18. The fix consists of 2 parts: - Changing the long press gesture logic to better adhere to Apple's API specs - Modify the SwipeActions library to allow the gesture priority to be configurable, and demote the swiping gesture to have normal priority (it was found that having a high-priority drag gesture prevents long-presses from being activated) Closes: https://github.com/damus-io/damus/issues/2577 Changelog-Fixed: Fix sensitive long-press gesture on event chat bubble in iOS 18 Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"originHash" : "babaf4d5748afecf49bbb702530d8e9576460692f478b0a50ee43195dd4440e2",
|
||||
"originHash" : "1b14e62192b3fa4b04a57cb4601d175b325dc16cb5f22c4c8eb975a675328637",
|
||||
"pins" : [
|
||||
{
|
||||
"identity" : "emojikit",
|
||||
@@ -92,10 +92,9 @@
|
||||
{
|
||||
"identity" : "swipeactions",
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/aheze/SwipeActions",
|
||||
"location" : "https://github.com/damus-io/SwipeActions.git",
|
||||
"state" : {
|
||||
"revision" : "41e6f6dce02d8cfa164f8c5461a41340850ca3ab",
|
||||
"version" : "1.1.0"
|
||||
"revision" : "33d99756c3112e1a07c1732e3cddc5ad5bd0c5f4"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user