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

Try: Improve scrolling of navigation menu on small screens #12644

Merged
merged 4 commits into from
Dec 24, 2018

Conversation

jasmussen
Copy link
Contributor

We scroll the editing canvas, the inspector sidebar, and the block library independently at desktop breakpoints. We do this so that the sidebar inspector can stay in view even if you have scrolled far down the editing canvas, and to avoid scroll bleed.

However because the navigation sidebar (on the left) has flyout menus on the desktop breakpoints, we can't yet scroll this one separately. If a user has a bunch of plugins installed that add menu items, or a small screen, these manu items might go beyond the visible height of the viewport. To make these accessible regardless, when this happens the body element scrolls to let you reach them.

In this situation, there is currently an issue where the editing canvas might scroll out of view when you scroll to the bottom of the sidebar.

This PR improves that situation by making the editing canvas position: fixed;, same as the sidebar is. This ensures that the entire editor scrolls with you down the page, as you scroll the body content.

This needs a good testing. position: fixed; does not inherit from a relative parent, which means we have to specifiy a matrix of left margins to accommodate for the different configurations of the navigation menu: auto-collapsed, manually collapsed, or the default width. To test, please verify that everything works as intended. Please test:

  • All breakpoints beyond the 600px small breakpoint.
  • Fullscreen and not fullscreen modes.
  • With the navigation menu auto collapsing, and explicitly collapsed.
  • With the inspector sidebar present or hidden.
  • With metaboxes present and not present.

Before:

master

After:

this branch

@jasmussen jasmussen added the [Type] Enhancement A suggestion for improvement. label Dec 6, 2018
@jasmussen jasmussen self-assigned this Dec 6, 2018
@jasmussen jasmussen requested review from mtias and a team December 6, 2018 11:59
@mtias mtias added the General Interface Parts of the UI which don't fall neatly under other labels. label Dec 6, 2018
@chrisvanpatten
Copy link
Member

Oh @jasmussen you're my hero — this has bugged me for a while but I have been too busy to wade in. Planning to give this a test in the next day or so!

@youknowriad
Copy link
Contributor

Just a note to make sure we test with meta boxes too (and IE) :)

@jasmussen jasmussen added this to the 4.8 milestone Dec 10, 2018
@jasmussen jasmussen force-pushed the try/improve-left-menu-scrolling branch from 93631d3 to e2d1f71 Compare December 10, 2018 07:49
@jasmussen
Copy link
Contributor Author

jasmussen commented Dec 10, 2018

Rebased, and did further testing. Edge and IE look fine. Edge:

edge

IE:

ie11

Note, IE has some weird overlaying autohiding scrollbars which we can do nothing about, but this is unchanged in this PR and simply how IE11 works.

Discovered a small metabox issue I'm investigating, so this is more of a progress report. Nope, there wasn't an issue. I was testing without the Gutenberg plugin enabled ¯_(ツ)_/¯

@jasmussen
Copy link
Contributor Author

There's an e2e test that keeps failing, but I don't understand why as it seems entirely unrelated:

 FAIL  test/e2e/specs/writing-flow.test.js (14.037s)
  ● adding blocks › Should navigate inner blocks with arrow keys

    expect(received).toBe(expected) // Object.is equality

    Expected: "First column paragraph"
    Received: "Second column paragraph"

      50 |              await page.keyboard.press( 'ArrowUp' );
      51 |              activeElementText = await page.evaluate( () => document.activeElement.textContent );
    > 52 |              expect( activeElementText ).toBe( 'First column paragraph' );

@jasmussen
Copy link
Contributor Author

Further testing with metaboxes present. Chrome:

chrome

Firefox:

firefox

Safari:

safari

Edge:

edge

IE11:

ie11

☝️Bummer — see the metaboxes overlapping. That rings a bell. But as it turns out, this is also an issue in master:

ie11 master

Turns out IE11 is so bad it renders as if the browser is in quirks mode. I will look for an IE11 hack.

@jasmussen
Copy link
Contributor Author

Okay, found a rather delightful and simple fix (478e9bc) that makes the flexing work in IE11. Here's a swath of new testing. IE11:

ie11

Edge:

edge

Chrome:

chrome

Firefox:

firefox

Safari:

safari

The iphone simulator for good measure:

iphone

I feel pretty good about this one. But would still appreciate your sanity checks, but also advice on why the checks are failing.

@jasmussen jasmussen requested review from a team and removed request for a team December 14, 2018 12:21
Copy link
Member

@tofumatt tofumatt left a comment

Choose a reason for hiding this comment

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

This looks complicated but aside from a few tweaks the SCSS looks fine to me. Thanks for all the comments.

margin-left: $admin-sidebar-width-collapsed;
}

// Undo this for fullscreen mode.
Copy link
Member

Choose a reason for hiding this comment

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

What is being undone here? Could you clarify what "this" is? 😄

bottom: 0;
left: 0;
right: 0;
top: $header-height + $admin-bar-height; // Because this is scoped to break-medium and larger, the admin-bar is always this height.
Copy link
Member

Choose a reason for hiding this comment

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

These comments after each attribute get really long and make for quite long line-lengths. If they could be moved around that'd be grand, but having them relate to the attributes is handy too, so no worries if you wanna leave 'em as-is.

Copy link
Member

@chrisvanpatten chrisvanpatten left a comment

Choose a reason for hiding this comment

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

Looks good from a UX perspective for me. The test fails might be fixed by a rebase, they seem unrelated. I can't get e2e tests working locally so I can't test, unfortunately.

@tofumatt
Copy link
Member

tofumatt commented Dec 14, 2018 via email

@chrisvanpatten
Copy link
Member

I rebased and pushed but Travis is still failing. However the failure was that phpcs couldn't be found, so I'm inclined to think it's an issue in Travis. Restarting the tests and crossing my fingers 🤞

@youknowriad
Copy link
Contributor

Another rebase here should fix the tests.

Joen Asmussen added 2 commits December 20, 2018 09:48
We scroll the editing canvas, the inspector sidebar, and the block library independently at desktop breakpoints. We do this so that the sidebar inspector can stay in view even if you have scrolled far down the editing canvas, and to avoid scroll bleed.

However because the navigation sidebar (on the left) has flyout menus on the desktop breakpoints, we can't yet scroll this one separately. If a user has a bunch of plugins installed that add menu items, or a small screen, these manu items might go beyond the visible height of the viewport. To make these accessible regardless, when this happens the `body` element scrolls to let you reach them.

In this situation, there is currently an issue where the editing canvas might scroll out of view when you scroll to the bottom of the sidebar.

This PR improves that situation by making the editing canvas `position: fixed;`, same as the sidebar is. This ensures that the entire editor scrolls with you down the page, as you scroll the `body` content.

This needs a good testing. `position: fixed;` does not inherit from a relative parent, which means we have to specifiy a matrix of left margins to accommodate for the different configurations of the navigation menu: auto-collapsed, manually collapsed, or the default width. To test, please verify that everything works as intended. Please test:

- All breakpoints beyond the 600px small breakpoint.
- Fullscreen and not fullscreen modes.
- With the navigation menu auto collapsing, and explicitly collapsed.
- With the inspector sidebar present or hidden.
- With metaboxes present and not present.
@jasmussen jasmussen force-pushed the try/improve-left-menu-scrolling branch from 68b945b to ef00060 Compare December 20, 2018 08:51
@jasmussen
Copy link
Contributor Author

Rebased, hoping the tests will pass.

@youknowriad
Copy link
Contributor

It seems that the test failure is legit here. (the writing flow failure). Would be good if someone could take a look @WordPress/gutenberg-core

@jasmussen
Copy link
Contributor Author

Yep, I'm not sure why a change in scrolling behavior should cause the test: #12644 (comment)

Would deeply appreciate some insights. 💕

@youknowriad
Copy link
Contributor

Yep, I'm not sure why a change in scrolling behavior should cause the test: #12644 (comment)

This could have a small impact on the width of the columns for instance, and this means maybe while previously we had to do two arrow ups to move to the first row of the block, we need to do only one at the moment.

@jasmussen
Copy link
Contributor Author

This could have a small impact on the width of the columns for instance, and this means maybe while previously we had to do two arrow ups to move to the first row of the block, we need to do only one at the moment.

Makes sense, and I could probably "fix the test" to make it pass. But I wouldn't necessarily fully understand what I did in the process, and I would rather if someone who was involved with the original test, or understands it better than I do, help give insight, as I'm worried about breaking the tests by "fixing" them.

@include break-medium() {
// Because the body element scrolls the navigation sidebar, we have to use position fixed here.
// Otherwise you would scroll the editing canvas out of view when you scroll the sidebar.
position: fixed;
Copy link
Contributor

Choose a reason for hiding this comment

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

There's an issue related to this change I think that cause the columns block to be very tight in the e2e tests. The left position of the editor is not correct I think.

Instead of duplicating all the .folded, .auto-fold... styles, can't we use the .editor-left mixin as I think it's meant to address exactly this issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We probably could, yes, but the mixin sets the left property, whereas we have to set the margin-left property.

It's complicated to explain why we need to use margin instead of the left property, but the reason is the same as why the sidebar uses it. The sidebar is fixed position using the same method as now the editing canvas, and by using margins we don't have to account for whether a scrollbar is present or not.

For example the notices use editor-right, and for that reason they overlap scrollbars, which is one of the things that were fixed in #12301. You can see that the sidebar also uses margins for that reason, here: https://github.com/WordPress/gutenberg/blob/master/packages/edit-post/src/components/sidebar/style.scss#L114

I suppose I can create a new mixin, @editor-margin-left that is similar to @editor-left, do you think that would be a good approach?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know, if it's specific to this component maybe not worth-it. But it would be good to detect why the margin-left is wrong in the e2e tests.

We're probably missing a case here.

In the e2e test, I see the WP left menu as collapsed but the editor toolbar and the editor content left position is wrong, it's shown as if the left menu is not collapsed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let me take a look again to see if the rules are right.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just tried to follow the instructions in the test all manually, and they fail for me too. However they fail the same for me in master and in this branch. It's only the e2e test that fails in this branch:

test in this branch

I'm really confused why this test fails.

I've tested thoroughly the left margin now, and I cannot get it to a state where it isn't right, with regards to the state of the left menu.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the e2e test, I see the WP left menu as collapsed but the editor toolbar and the editor content left position is wrong, it's shown as if the left menu is not collapsed.

How did you get to this state? I can't reproduce it.

Copy link
Contributor

Choose a reason for hiding this comment

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

The thing is I couldn't reproduce as well unless I run the e2e test in non-headless mode.
I think it has to do with:

  • First time you visit the admin (no persisted preference for the sidebar...)
  • Size of the window should be something around 960x700

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Awesome, thank you. Trying.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh wow this is super interesting. At that breakpoint, the text "Second column paragraph" wraps into two lines:

screenshot 2018-12-20 at 13 53 24

That means that you do need THREE presses of the up arrow to go to the 1st column. Whereas when there's enough space in the main editing canvas for the text to not wrap, you only have to press the up arrow TWICE.

Regardless of the test failure, or this patch I'm currently testing, this means the test currently only works on a very specific screen size.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So, here's a GIF of me reproducing master at about that screen size:

master

Here's me manually reproducing the same test in this branch:

this branch

The bit that is failing is that once the caret is at the end of the second column paragraph, you press "Up" arrow three times. One to go to the first line, another to select the column, and a third to go to the 1st column paragraph.

This is the same in both branches when I test.

But if the viewport is this small, then the words "Second column paragraph" wrap onto three lines:

screenshot 2018-12-20 at 14 08 53

If that were the case, then it would produce the expected result from our test failure, i.e. return "Second column paragraph", because the 2nd column would be selected.

@jasmussen
Copy link
Contributor Author

jasmussen commented Dec 20, 2018

I found a fix.

Turns out in my IE11 fix here, I had prevented the editor from shrinking, meaning the metaboxes were outside the visual area on an empty screen. The width of the scrollbar this caused, meant the text from the test, "Second column paragraph" wrapped onto THREE lines instead of TWO.

So the test, in a roundabout way, worked. I expect the tests to pass now.

ce7dfe0 includes some feedback from @tofumatt addressed, and it also changes the matrix of the folded/autofold rules to better match that from the mixin. But the net result for that change is identical to before. The real change is here: ce7dfe0#diff-ec5f5c91d0b3295f448977820605e4e4R147

That changing of flex means it works for both IE11 and other browsers.

Before, it wasflex: 1 0 auto;, which means it can flex-grow, it can't flex-shrink, and it has an auto size.

Now it's flex: 1 1 auto;, which means it can flex-grow, flex-shrink, and has an auto size. The "flex shrink" means there will be no scrollbar when the test is run. This means the text won't wrap, and means the test should return the right result. 🤞

@jasmussen
Copy link
Contributor Author

Okay, it appears the test is still failing. Which puts me at the end of my rope. The first test failure was legitimate in that I discovered the missing "flex-shrink" property that caused metaboxes to be out of view.

But I don't know why it's failing now, even locally.

Changing the test to the following makes it pass:

	it( 'Should navigate inner blocks with arrow keys', async () => {
		let activeElementText;

		// Add demo content
		await clickBlockAppender();
		await page.keyboard.type( '1st paragraph' );
		await page.keyboard.press( 'Enter' );
		await page.keyboard.type( '/columns' );
		await page.keyboard.press( 'Enter' );
		await page.keyboard.type( '1st column paragraph' );

		// Arrow down should navigate through layouts in columns block (to
		// its default appender). Two key presses are required since the first
		// will land user on the Column wrapper block.
		await page.keyboard.press( 'ArrowDown' );
		await page.keyboard.press( 'ArrowDown' );
		await page.keyboard.type( '2nd column paragraph' );

		// Arrow down from last of layouts exits nested context to default
		// appender of root level.
		await page.keyboard.press( 'ArrowDown' );
		await page.keyboard.type( '2nd paragraph' );

		// Arrow up into nested context focuses last text input
		await page.keyboard.press( 'ArrowUp' );
		activeElementText = await page.evaluate( () => document.activeElement.textContent );
		expect( activeElementText ).toBe( '2nd column paragraph' );

		// Arrow up in inner blocks should navigate through (1) column wrapper,
		// (2) text fields.
		// We need to arrow up key presses in the paragraph block because it shows up in two lines.
		await page.keyboard.press( 'ArrowUp' );
		await page.keyboard.press( 'ArrowUp' );
		await page.keyboard.press( 'ArrowUp' );
		activeElementText = await page.evaluate( () => document.activeElement.textContent );
		expect( activeElementText ).toBe( '1st column paragraph' );

		// Arrow up from first text field in nested context focuses column and
		// columns wrappers before escaping out.
		let activeElementBlockType;
		await page.keyboard.press( 'ArrowUp' );
		await page.keyboard.press( 'ArrowUp' );
		activeElementBlockType = await page.evaluate( () => (
			document.activeElement.getAttribute( 'data-type' )
		) );
		expect( activeElementBlockType ).toBe( 'core/column' );
		await page.keyboard.press( 'ArrowUp' );
		activeElementBlockType = await page.evaluate( () => (
			document.activeElement.getAttribute( 'data-type' )
		) );
		expect( activeElementBlockType ).toBe( 'core/columns' );

		// Arrow up from focused (columns) block wrapper exits nested context
		// to prior text input.
		await page.keyboard.press( 'ArrowUp' );
		activeElementText = await page.evaluate( () => document.activeElement.textContent );
		expect( activeElementText ).toBe( '1st paragraph' );

		expect( await getEditedPostContent() ).toMatchSnapshot();
	} );

Because "2nd paragraph" is most likely to wrap on two lines instead of 3.

Look:

screenshot 2018-12-20 at 16 35 20

I have no idea how to proceed, other than to change the test.

Help me @gziolo test master, you're my only hope!

@gziolo
Copy link
Member

gziolo commented Dec 20, 2018

@jasmussen - I think we had the same issue in the past but with the different columns setup, let me check how was it fixed and who knows it best :)

@gziolo
Copy link
Member

gziolo commented Dec 20, 2018

1d5fa32#diff-5ae26f128f656bf9ba7c25b39cc21b8c

@youknowriad is our friend, you can play with the number of ArrowUp key presses like he did in here 1d5fa32#diff-5ae26f128f656bf9ba7c25b39cc21b8c.

Yes, feel free to tweak the test. It seems like a valid requirement to make it pass :)

@youknowriad
Copy link
Contributor

I still want to understand why the column block is showing in three lines now with this PR before updating the test.

@youknowriad
Copy link
Contributor

So it looks like the test is passing for me locally but not in travis which is weird. At this point, I'm in favor of making adjustements to the test to make it pass regardless of the width of the viewport.

@jasmussen
Copy link
Contributor Author

If I update the snapshots, another test fails:

 FAIL  test/e2e/specs/block-hierarchy-navigation.test.js (6.902s)
  ● Navigating the block hierarchy › should navigate block hierarchy using only the keyboard

    expect(value).toMatchSnapshot()

    Received value does not match stored snapshot "Navigating the block hierarchy should navigate block hierarchy using only the keyboard 1".

    - Snapshot
    + Received

    @@ -9,9 +9,9 @@
      <div class="wp-block-column"></div>
      <!-- /wp:column -->

      <!-- wp:column -->
      <div class="wp-block-column"><!-- wp:paragraph -->
    - <p>Third column</p>
    + <p></p>
      <!-- /wp:paragraph --></div>
      <!-- /wp:column --></div

I'm not sure I'm doing this right, so I'd appreciate help here.

@youknowriad youknowriad merged commit e9f6a6b into master Dec 24, 2018
@youknowriad youknowriad deleted the try/improve-left-menu-scrolling branch December 24, 2018 09:15
@jasmussen
Copy link
Contributor Author

💖💖

@latheeshvm
Copy link

latheeshvm commented Dec 24, 2018

is this solved? I am also having this problem..scrolling is not proper with the mouse. it seems to be the scrollbar height is creating the problem, inner one stops at a certain position and outer one need to move up

@aduth
Copy link
Member

aduth commented Jan 2, 2019

@latheeshvmv While merged, this is not yet included in a Gutenberg plugin or WordPress release, and is slated to be included in the next minor version of each.

youknowriad pushed a commit that referenced this pull request Jan 9, 2019
* Try: Improve scrolling of navigation menu on small screens

We scroll the editing canvas, the inspector sidebar, and the block library independently at desktop breakpoints. We do this so that the sidebar inspector can stay in view even if you have scrolled far down the editing canvas, and to avoid scroll bleed.

However because the navigation sidebar (on the left) has flyout menus on the desktop breakpoints, we can't yet scroll this one separately. If a user has a bunch of plugins installed that add menu items, or a small screen, these manu items might go beyond the visible height of the viewport. To make these accessible regardless, when this happens the `body` element scrolls to let you reach them.

In this situation, there is currently an issue where the editing canvas might scroll out of view when you scroll to the bottom of the sidebar.

This PR improves that situation by making the editing canvas `position: fixed;`, same as the sidebar is. This ensures that the entire editor scrolls with you down the page, as you scroll the `body` content.

This needs a good testing. `position: fixed;` does not inherit from a relative parent, which means we have to specifiy a matrix of left margins to accommodate for the different configurations of the navigation menu: auto-collapsed, manually collapsed, or the default width. To test, please verify that everything works as intended. Please test:

- All breakpoints beyond the 600px small breakpoint.
- Fullscreen and not fullscreen modes.
- With the navigation menu auto collapsing, and explicitly collapsed.
- With the inspector sidebar present or hidden.
- With metaboxes present and not present.

* Add flex rule to fix IE issue.

* Address feedback, and fix test issue.

* Try making the test more reliable using small columns
youknowriad pushed a commit that referenced this pull request Jan 9, 2019
* Try: Improve scrolling of navigation menu on small screens

We scroll the editing canvas, the inspector sidebar, and the block library independently at desktop breakpoints. We do this so that the sidebar inspector can stay in view even if you have scrolled far down the editing canvas, and to avoid scroll bleed.

However because the navigation sidebar (on the left) has flyout menus on the desktop breakpoints, we can't yet scroll this one separately. If a user has a bunch of plugins installed that add menu items, or a small screen, these manu items might go beyond the visible height of the viewport. To make these accessible regardless, when this happens the `body` element scrolls to let you reach them.

In this situation, there is currently an issue where the editing canvas might scroll out of view when you scroll to the bottom of the sidebar.

This PR improves that situation by making the editing canvas `position: fixed;`, same as the sidebar is. This ensures that the entire editor scrolls with you down the page, as you scroll the `body` content.

This needs a good testing. `position: fixed;` does not inherit from a relative parent, which means we have to specifiy a matrix of left margins to accommodate for the different configurations of the navigation menu: auto-collapsed, manually collapsed, or the default width. To test, please verify that everything works as intended. Please test:

- All breakpoints beyond the 600px small breakpoint.
- Fullscreen and not fullscreen modes.
- With the navigation menu auto collapsing, and explicitly collapsed.
- With the inspector sidebar present or hidden.
- With metaboxes present and not present.

* Add flex rule to fix IE issue.

* Address feedback, and fix test issue.

* Try making the test more reliable using small columns
@zignorp
Copy link

zignorp commented Jan 15, 2019

I just got this as a complaint from a user.

"it seems like as soon as I scroll down to the bottom of the page it prevents me from scrolling back up to the top. This means every time I scroll to the bottom I have to save a draft and start over."

She was also having problems with the classic editor admin, so we switched to gutenberg. Scrolling of the admin is ok for me, but I've got a big window. When I make my window shorter, the scrollbar disappears. I can still scroll using the mouse, but this is difficult for some users with shorter windows. She says she can't click above the nonexistent scrollbar.

jasmussen pushed a commit that referenced this pull request Jan 15, 2019
In #12644, we changed the behavior of scrolling for the main content area slightly, to address issues with scrolling on small screens.

As part of that, there was one small issue that made it slightly harder to scroll this main content area, only when in fullscreen mode in Microsoft Edge. This PR fixes that.

Another side effect of that prior PR was that it unset some of the scrolling rules that prevented CSS bleed (when you scroll to the end of the Block Library and proceed to scroll the body content). This PR restores that.
@aduth
Copy link
Member

aduth commented Jan 16, 2019

The changes here appear to have broken the behavior to click below the blocks region to select the last block / insert a paragraph, in full screen mode.

youknowriad pushed a commit that referenced this pull request Jan 18, 2019
In #12644, we changed the behavior of scrolling for the main content area slightly, to address issues with scrolling on small screens.

As part of that, there was one small issue that made it slightly harder to scroll this main content area, only when in fullscreen mode in Microsoft Edge. This PR fixes that.

Another side effect of that prior PR was that it unset some of the scrolling rules that prevented CSS bleed (when you scroll to the end of the Block Library and proceed to scroll the body content). This PR restores that.
youknowriad pushed a commit that referenced this pull request Mar 6, 2019
In #12644, we changed the behavior of scrolling for the main content area slightly, to address issues with scrolling on small screens.

As part of that, there was one small issue that made it slightly harder to scroll this main content area, only when in fullscreen mode in Microsoft Edge. This PR fixes that.

Another side effect of that prior PR was that it unset some of the scrolling rules that prevented CSS bleed (when you scroll to the end of the Block Library and proceed to scroll the body content). This PR restores that.
youknowriad pushed a commit that referenced this pull request Mar 6, 2019
In #12644, we changed the behavior of scrolling for the main content area slightly, to address issues with scrolling on small screens.

As part of that, there was one small issue that made it slightly harder to scroll this main content area, only when in fullscreen mode in Microsoft Edge. This PR fixes that.

Another side effect of that prior PR was that it unset some of the scrolling rules that prevented CSS bleed (when you scroll to the end of the Block Library and proceed to scroll the body content). This PR restores that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
General Interface Parts of the UI which don't fall neatly under other labels. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants