mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-28 09:56:08 +00:00
[GH-ISSUE #2498] [Bug] Calendar events open up speed #1077
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#1077
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @annieappflowy on GitHub (May 10, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2498
Originally assigned to: @richardshiue on GitHub.
Bug Description
https://github.com/AppFlowy-IO/AppFlowy/assets/12026239/c8aae426-7fe4-4d88-b7b0-225099c09d36
feel a bit sluggish when opening up an event card
not sure if it's just me
How to Reproduce
Create a calendar
Add an event to a date
Close it
Open it up
Expected Behavior
Feel smooth and agile?
Operating System
MacOS
AppFlowy Version(s)
Main branch
Screenshots
No response
Additional Context
No response
@richardshiue commented on GitHub (May 10, 2023):
I can feel it as well
@Xazin commented on GitHub (May 13, 2023):
Try in release mode, if you're in dev environment.
@richardshiue commented on GitHub (May 14, 2023):
Hey there @Xazin, this is observable in v0.1.5 as well.
I've tracked down the problem to the following:
GestureDetectors in place here, one being the background card that's listening toonDoubleTap(to create a new event) and the child event card further down in the widget tree listening toonTap(to open the event as a page).onTaporonDoubleTap.onTaphandler be called.onDoubleTaphandler and see that clicking on an event card opens the event editing page almost instantaneously.We should make the child perform hit testing immediately, while the area of parent under the child should be blocked from possibly being able to enter the gesture arena. However, I haven't figured out a way to separate and block the event propagation properly.
IgnorePointerandAbsorbPointerare both useless since they block the child, not the parent.onDoubleTaphandler to the childGestureDetectorsolves the problem of double tapping on the card creating a new event, but actually opening the event still takes a while.ref: https://github.com/flutter/flutter/issues/22950
@MayurSMahajan commented on GitHub (May 21, 2023):
When I was trying the calendar, I clicked on the event and because it did not open up, I kept clicking it, and the event never opened up as a page, I thought maybe its only my device.
Can we remove the feature of
double tap to create a new eventcompletely since the plus icon at the top left corner can be used to create a new event ?@Xazin commented on GitHub (May 21, 2023):
I think this is a good idea.