Skip to content

Commit

Permalink
Merge pull request 'feature/fix-bugs' (#3) from feature/fix-bugs into…
Browse files Browse the repository at this point in the history
… release/v8.2.0
  • Loading branch information
maxkadushkin committed Sep 5, 2024
2 parents c83799e + 8d74f1e commit 19ec5ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/documenteditor/mobile/src/controller/Toolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ const ToolbarController = inject('storeAppOptions', 'users', 'storeReview', 'sto
const isSearchbarEnabled = document.querySelector('.subnavbar .searchbar')?.classList.contains('searchbar-enabled');

if(!isSearchbarEnabled && navbarHeight) {
if(offset > scrollOffsetRef.current) {
if(offset > 0 && Math.abs(offset) > Math.abs(scrollOffsetRef.current)) {
props.closeOptions('fab');
f7.navbar.hide('.main-navbar');
api.SetMobileTopOffset(undefined, 0);
} else if(offset <= scrollOffsetRef.current) {
} else if(offset < 0 && Math.abs(offset) <= Math.abs(scrollOffsetRef.current)) {
props.openOptions('fab');
f7.navbar.show('.main-navbar');
api.SetMobileTopOffset(undefined, navbarHeight);
Expand Down
10 changes: 5 additions & 5 deletions apps/spreadsheeteditor/mobile/src/less/statusbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@
.statusbar--box-tabs {
overflow-x: auto;
overflow-y: hidden;
-ms-overflow-style: none;
scrollbar-width: none;

&::-webkit-scrollbar {
-webkit-appearance: none;
display: none;
// width: 0;
// height: 0;
width: 0;
height: 0;
}
> ul {
padding: 0;
margin: 0;
height: 100%;
white-space: nowrap;
overflow-x: scroll;
// position: absolute;
// left: 0;
// top: 0;
Expand Down

0 comments on commit 19ec5ba

Please sign in to comment.