From 96cb176b8534605b4f3ffb33f2e4ba40f3824b50 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Sun, 18 Sep 2022 16:52:27 +0300 Subject: [PATCH 1/4] [DE mobile] Fix Bug 59083 --- apps/documenteditor/mobile/src/view/settings/Navigation.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/mobile/src/view/settings/Navigation.jsx b/apps/documenteditor/mobile/src/view/settings/Navigation.jsx index 7149df3f82..c006e30621 100644 --- a/apps/documenteditor/mobile/src/view/settings/Navigation.jsx +++ b/apps/documenteditor/mobile/src/view/settings/Navigation.jsx @@ -29,7 +29,7 @@ const NavigationPopover = inject('storeNavigation')(observer(props => {

{t('Settings.textEmptyScreens')}

: - + {arrHeaders.map((header, index) => { return ( { From 5b0ccb21e4ac3aa4bc7004ddc9227fe31f0e5dec Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Tue, 20 Sep 2022 17:48:45 +0300 Subject: [PATCH 2/4] [DE mobile] Fix Bug 57989 --- apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx b/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx index 7728ee25bd..f8511a6a21 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx @@ -207,7 +207,7 @@ const EditParagraph = props => { onStyleMenuDelete: props.onStyleMenuDelete }}> {curStyle && -
+
}
@@ -278,7 +278,7 @@ const EditParagraphStyle = props => { }} >
{!api.asc_IsStyleDefault(style.name) && (
@@ -369,7 +369,7 @@ const ChangeNextParagraphStyle = props => { }} >
))} From 8b1bf6f3b6ee989ec25c98c69fa787e1975adb62 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Fri, 23 Sep 2022 00:38:13 +0300 Subject: [PATCH 3/4] [DE mobile] Fix Bug 59096 --- apps/common/mobile/resources/less/common.less | 10 ------- apps/documenteditor/mobile/src/less/app.less | 27 ++++++++++++++++--- .../mobile/src/view/settings/Navigation.jsx | 2 +- 3 files changed, 24 insertions(+), 15 deletions(-) diff --git a/apps/common/mobile/resources/less/common.less b/apps/common/mobile/resources/less/common.less index 880c93eda7..a17ea29509 100644 --- a/apps/common/mobile/resources/less/common.less +++ b/apps/common/mobile/resources/less/common.less @@ -1088,16 +1088,6 @@ input[type="number"]::-webkit-inner-spin-button { border: 0.5px solid @background-menu-divider; } -// Navigation list - -.list.navigation-list { - overflow-y: auto; - height: 265px; - .item-title { - color: @text-normal; - } -} - // Sharing Settings .sharing-placeholder { diff --git a/apps/documenteditor/mobile/src/less/app.less b/apps/documenteditor/mobile/src/less/app.less index 29da1b3dad..dbf4e46fe3 100644 --- a/apps/documenteditor/mobile/src/less/app.less +++ b/apps/documenteditor/mobile/src/less/app.less @@ -219,18 +219,37 @@ .sheet-modal.navigation-sheet { box-shadow: 0px -2px 20px rgba(0, 0, 0, 0.2); - overflow: hidden; .sheet-modal-inner { background: @background-tertiary; - overflow: hidden; + overflow-y: auto; + } + .swipe-container { + position: fixed; + top: 0; + width: 100%; + z-index: 1000; } &.sheet-modal-bottom:before, &.sheet-modal:not(.sheet-modal-top):before { display: none; } } -.navigation-list { - margin: 0; +.list.navigation-list { + margin-top: 72px; + .item-title { + color: @text-normal; + } +} + +.navigation-sheet { + &__title { + position: fixed; + left: 0; + width: 100%; + z-index: 100; + top: 40px; + z-index: 1000; + } } // Picker diff --git a/apps/documenteditor/mobile/src/view/settings/Navigation.jsx b/apps/documenteditor/mobile/src/view/settings/Navigation.jsx index c006e30621..ec6226e606 100644 --- a/apps/documenteditor/mobile/src/view/settings/Navigation.jsx +++ b/apps/documenteditor/mobile/src/view/settings/Navigation.jsx @@ -29,7 +29,7 @@ const NavigationPopover = inject('storeNavigation')(observer(props => {

{t('Settings.textEmptyScreens')}

: - + {arrHeaders.map((header, index) => { return ( { From 9f37a4c70da7cf29fe242adf5c23fccfe901a5d2 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Fri, 23 Sep 2022 23:05:33 +0300 Subject: [PATCH 4/4] [DE SSE mobile] Fix Bug 59034 --- apps/common/mobile/lib/view/Search.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/common/mobile/lib/view/Search.jsx b/apps/common/mobile/lib/view/Search.jsx index 6fb8d59b5e..a5a66cfb24 100644 --- a/apps/common/mobile/lib/view/Search.jsx +++ b/apps/common/mobile/lib/view/Search.jsx @@ -116,7 +116,12 @@ class SearchView extends Component { expandable: true, backdrop: false, on: { - search: (bar, curval, prevval) => { + search: (sb, query, previousQuery) => { + const api = Common.EditorApi.get(); + + if(!query) { + api.asc_selectSearchingResults(false); + } }, } });