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

html overflow-y. Can it be auto? #980

Closed
asangma opened this issue Sep 5, 2018 · 2 comments
Closed

html overflow-y. Can it be auto? #980

asangma opened this issue Sep 5, 2018 · 2 comments
Assignees

Comments

@asangma
Copy link
Collaborator

asangma commented Sep 5, 2018

Can this be auto instead of scroll?

html {
  /* overflow-y: scroll; */
  overflow-y: auto;
  min-height: 100%;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%; }

Interfaces that do not scroll (like the Data tab) get the scrollbar gutter.
This is also apparent with modal overlays.
mysandiego maps arcgis com_home_item html_id 79d473995c25409797ec5a435ebff96a

Chrome Version 68.0.3440.106 (Official Build) (64-bit)

@paulcpederson
Copy link
Member

looking into this, assigning to 1.1.0

paulcpederson added a commit to paulcpederson/calcite-web that referenced this issue Sep 19, 2018
macandcheese pushed a commit that referenced this issue Sep 20, 2018
* #979 - update search icon in search inputs

* #981 - improve keyboard accessibility of tabs component

* #978 - improve aria markup of accordion pattern

* #980 - allow html to be overflow auto

* add overflow-scroll helper class for forcing a scroll bar

* don't allow scroll of content behind drawers or modals

* 📦 v1.0.0

* update package-lock to fix build
@paulcpederson
Copy link
Member

@asangma got this set to auto as of 1.1.0. Had to update the modal and drawer code so that things wouldn't shift right or left based on scroll width, but I think I got it all figured out. 🌟

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

No branches or pull requests

2 participants