Skip to content

Conversation

@danxuliu
Copy link
Member

@danxuliu danxuliu commented May 6, 2019

Follow up to #10230

Fixes #11840 (note that the JavaScript error mentioned in the bug is not related even if it seems so ;-) ).

This has been broken since Nextcloud 14, but... how far back this deserves to be backported?

How to test

-Open the Files app in Internet Explorer 11
-Create a new folder
-Add that folder to favorites
-Click twice on the button to the left of Favorites in the app navigation
-Click twice on the button to the left of Shares in the app navigation

Result with this pull request

The favorites and shares sections in the app navigation are expanded and collapsed.

Result without this pull request

The favorites and shares sections in the app navigation are not modified (but they are loaded in the file list).

Although the collapse button has an absolute position Internet Explorer
11 needs the left position of that button to be explicitly set to 0
(other browsers do it implicitly due to the absolute position);
otherwise the button appears to the right of the link (and behind the
app content).

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu added bug 3. to review Waiting for reviews labels May 6, 2019
@danxuliu danxuliu added this to the Nextcloud 17 milestone May 6, 2019
@MorrisJobke
Copy link
Member

/backport to stable16

@MorrisJobke
Copy link
Member

/backport to stable15

@MorrisJobke
Copy link
Member

/backport to stable14

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, verified and works 👍

@MorrisJobke MorrisJobke merged commit 16d696e into master May 6, 2019
@MorrisJobke MorrisJobke deleted the fix-collapse-button-in-app-navigation-in-ie11 branch May 6, 2019 12:08
@backportbot-nextcloud
Copy link

backport to stable16 in #15389

@backportbot-nextcloud
Copy link

backport to stable15 in #15390

@backportbot-nextcloud
Copy link

backport to stable14 in #15391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Sidebar not working on IE11

4 participants