Skip to content

Panel: Added external panel and enhancement #370

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

Closed
wants to merge 3 commits into from

Conversation

agcolom
Copy link
Member

@agcolom agcolom commented Apr 28, 2015

Fixes gh-362

@@ -35,9 +35,36 @@
<p>To avoid blinks when opening a panel, we force hardware acceleration on WebKit browsers. The CSS that is used to do this can cause issues with buttons and form elements on the page if their container has a CSS multi-column layout (<code>column-count</code>). To resolve this you have to set the following rule for the element or its container:</p>

<pre><code><![CDATA[
-webkit-transform: translate3d(0,0,0);
-webkit-transform: translate3d( 0, 0, 0 );
Copy link
Member

Choose a reason for hiding this comment

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

This seems odd we originally used this in panel directly and removed it to fix some issues. We don't use this anywhere else including demos. cc @jaspermdegroot

Copy link
Member Author

Choose a reason for hiding this comment

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

@arschmitz should this be removed? (the paragraph to avoid blinks... and the code?) I'm ok to wait for @jaspermdegroot 's reply :-)

Copy link
Member

Choose a reason for hiding this comment

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

I would prefer to wait for @jaspermdegroot he is the one that worked on all this and knows what happened. I don't remember very well the details

Copy link
Member

Choose a reason for hiding this comment

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

This seems odd we originally used this in panel directly and removed it to fix some issues.

We still use translate3d() for panel and page wrapper transitions. This note is about a bug that appears when your page contains a CSS columns layout.

We don't use this anywhere else including demos.

Correct, we don't have demo with panels and CSS columns.

This shouldn't be removed unless the bug is fixed in all WebKit browsers/versions that we support.

Copy link
Member

Choose a reason for hiding this comment

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

@jaspermdegroot Sorry im not sure what i was doing the other day but i searched and could not find use in the repo, but i see it all over the place now. @agcolom feel free to ignore me and leave this sorry!

@agcolom
Copy link
Member Author

agcolom commented Apr 29, 2015

@arschmitz Fixed the spacing :-)

<p>The panel can be enhanced manually as follows:</p>

<pre><code><![CDATA[
$( function() {
Copy link
Member Author

Choose a reason for hiding this comment

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

@arschmitz I think I should actually remove the space before function so it goes
$(function() {
Is this correct?

@agcolom
Copy link
Member Author

agcolom commented May 3, 2015

@arschmitz I think I've fixed the spacing. It would be great if you could check it's all ok. Thanks :-)

@agcolom
Copy link
Member Author

agcolom commented May 10, 2015

@arschmitz Does this look good to you? Thanks

@arschmitz
Copy link
Member

👍

@agcolom agcolom closed this in df39411 May 13, 2015
@agcolom agcolom deleted the externalPanel branch May 13, 2015 12:26
apsdehal pushed a commit that referenced this pull request Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

External panels are not documented
5 participants