Merge pull request #409 from pangeachat/remove-postframe-toolbar

commented out postframe callback around showing toolbar to prevent de…
pull/1384/head
ggurdin 1 year ago committed by GitHub
commit 535950d0f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -94,7 +94,10 @@ class ToolbarDisplayController {
previousEvent: previousEvent,
);
WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
// I'm not sure why I put this here, but it causes the toolbar
// not to open immediately after clicking (user has to scroll or move their cursor)
// so I'm commenting it out for now
// WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
Widget overlayEntry;
if (toolbar == null) return;
try {
@ -146,7 +149,7 @@ class ToolbarDisplayController {
() => toolbarModeStream.add(mode),
);
}
});
// });
}
bool get highlighted {

Loading…
Cancel
Save