Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/#10 sidebar ie issue #78

Closed
wants to merge 30 commits into from
Closed

Conversation

vickyokrm
Copy link

This fixes the issue#10 with respect to the side bar display issue on internet explorer

@ghost ghost assigned vickyokrm Oct 5, 2017
@ghost ghost added the progress:working label Oct 5, 2017
@mrsimpson mrsimpson self-requested a review October 5, 2017 21:29
Copy link
Member

@mrsimpson mrsimpson left a comment

Choose a reason for hiding this comment

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

@vickyokrm seems you branched off the wrong branch. It should have been master :(
Let's fix that together tomorrow

Copy link
Member

@mrsimpson mrsimpson left a comment

Choose a reason for hiding this comment

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

hmpf - don't understand why the global announcement is not part of master... let's see that tomorrow

@@ -3035,7 +3035,7 @@ body:not(.is-cordova) {

.flex-tab-container {
display: flex;
flex: 0 0 41px;
/*flex: 0 0 41px;*/
Copy link
Member

Choose a reason for hiding this comment

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

@vickyokrm this is the actual fix, right? Have you tested other browsers?

Copy link
Author

@vickyokrm vickyokrm Oct 5, 2017

Choose a reason for hiding this comment

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

@mrsimpson Tested in the chrome and IE.

Copy link
Member

@mrsimpson mrsimpson Oct 6, 2017

Choose a reason for hiding this comment

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

@vickyokrm what about using the -ms-flex and -webkit-flex (see https://www.w3schools.com/cssref/css3_pr_flex.asp)

Copy link
Author

Choose a reason for hiding this comment

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

@mrsimpson, machi, -ms-flex was supported until IE 10. From IE 11, the flex property should work without any issues. Whereas in our case, although the flex-basis property was fixed to 41px, webkit recomputes the flex-basis value depending on the width of the child flex items, while IE fails to do that which leads to no room for the dynamic overview screen. An another approach to make this work in IE will be by setting the 'flex-basis' to 'auto'.

Copy link
Member

Choose a reason for hiding this comment

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

@vickyokrm flex: 0 0 auto is equal to "flex: none".
Anyway, I'll just merge your PR, please discuss the flexing with the RC core team (at RocketChat#8204) so that we can understand why they wanted to have a basis of 41px - it surely has got some reason

Copy link
Author

Choose a reason for hiding this comment

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

@mrsimpson The fixes to handle the multiple duplicate scroll bar issue in the side nav bar is resolved. Seeking your assistance to review it.

rodrigok and others added 6 commits October 5, 2017 21:30
…port

[FIX] Slack import failing and not being able to be restarted
# Conflicts:
#	packages/rocketchat-i18n/i18n/en.i18n.json
…son-query-helper

[FIX] Duplicate code in rest api letting in a few bugs with the rest api
# Conflicts:
#	packages/rocketchat-api/server/api.js
#	packages/rocketchat-api/server/v1/channels.js
#	packages/rocketchat-api/server/v1/groups.js
#	packages/rocketchat-api/server/v1/im.js
@ghost ghost assigned mrsimpson Oct 6, 2017
@mrsimpson
Copy link
Member

@vickyokrm the sidebar flexes out now, but there are two scrollbars - which looks ridiculus.
Furthermore, as we tested it, Smarti widget didn't load. Can you please check that?

@mrsimpson
Copy link
Member

please create from and PR towards master

@mrsimpson mrsimpson closed this Oct 25, 2017
@ghost ghost removed the progress:working label Oct 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants