Fix [Safari] When the input is still focused, double click to edit recipient in composer
This commit is contained in:
@@ -118,6 +118,8 @@ class _CardWithSmartInteractionOverlayViewState
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _togglePopup() {
|
void _togglePopup() {
|
||||||
|
FocusManager.instance.primaryFocus?.unfocus();
|
||||||
|
|
||||||
widget.onClearFocusAction?.call();
|
widget.onClearFocusAction?.call();
|
||||||
|
|
||||||
if (_overlayEntry == null) {
|
if (_overlayEntry == null) {
|
||||||
|
|||||||
+2
-2
@@ -468,8 +468,8 @@ void main() {
|
|||||||
getLatestChanges: anyNamed('getLatestChanges'),
|
getLatestChanges: anyNamed('getLatestChanges'),
|
||||||
propertiesCreated: anyNamed('propertiesCreated'),
|
propertiesCreated: anyNamed('propertiesCreated'),
|
||||||
propertiesUpdated: anyNamed('propertiesUpdated')));
|
propertiesUpdated: anyNamed('propertiesUpdated')));
|
||||||
expect(searchController.sortOrderFiltered, SearchEmailFilter.defaultSortOrder);
|
expect(searchController.sortOrderFiltered, EmailSortOrderType.oldest);
|
||||||
expect(searchController.searchEmailFilter.value, SearchEmailFilter.initial());
|
expect(searchController.searchEmailFilter.value, SearchEmailFilter.withSortOrder(EmailSortOrderType.oldest));
|
||||||
verify(getEmailsInMailboxInteractor.execute(
|
verify(getEmailsInMailboxInteractor.execute(
|
||||||
testSession, testAccountId,
|
testSession, testAccountId,
|
||||||
limit: ThreadConstants.defaultLimit,
|
limit: ThreadConstants.defaultLimit,
|
||||||
|
|||||||
Reference in New Issue
Block a user