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

[Bug] Vertical scrolling in textarea #1048

Closed
NothingWeAre opened this issue Oct 25, 2017 · 7 comments
Closed

[Bug] Vertical scrolling in textarea #1048

NothingWeAre opened this issue Oct 25, 2017 · 7 comments
Milestone

Comments

@NothingWeAre
Copy link

Can we have vertical scrolling in textarea when content is greater than max-height of said textarea ?
Right now it is not obvious whether textarea currently displaying all text or if some part do not fit.

@NothingWeAre NothingWeAre changed the title [Request] Vertical scrolling in textarea [Bug] Vertical scrolling in textarea Oct 25, 2017
@NothingWeAre
Copy link
Author

Rather this should be bug instead of request.
textarea styles

textarea {
    overflow: auto;
    overflow-x: auto;
    overflow-y: auto;
}

overridden by:

.q-input-target, .q-input-shadow {
    ...........
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    ...........
}

as this is more specific selector.

Possible fix:

textarea, textarea.q-input-target, textarea.q-input-shadow  {
    overflow: auto;
    overflow-x: auto;
    overflow-y: auto;
}

@rstoenescu
Copy link
Member

Available in v0.15.6 when using the max-height prop.

@GastroGeek
Copy link
Contributor

@rstoenescu

Hi,

Just a note - I updated the cli tool and built a brand new project specifically to test the textarea/q-input in .15.6 and still no scrolling? css still shows as 'hidden' too...

Thanks

@rstoenescu
Copy link
Member

rstoenescu commented Mar 3, 2018

Small mistake in the CLI. It still bundled Quasar 0.15.5. Upgrade to CLI v0.15.7. Sorry for this.

@GastroGeek
Copy link
Contributor

GastroGeek commented Mar 3, 2018

Not to be a pain... but still no go?

Looks like its still been overridden by:

.q-input-target, .q-input-shadow {
  overflow: hidden;
}

Global packages
NPM 5.5.1
yarn 1.3.2
quasar-cli 0.15.7
vue-cli 2.9.3
cordova 8.0.0

Important local packages
quasar-cli 0.15.7 (Quasar Framework CLI)
quasar-framework 0.15.6 (Build responsive websites, PWAs, hybrid mobile apps and Electron

@rstoenescu rstoenescu reopened this Mar 3, 2018
@rstoenescu rstoenescu modified the milestones: v0.15.6, v0.15.7 Mar 3, 2018
@rstoenescu
Copy link
Member

I'm not sure how this was missed, but you are right. Fixed it. Will be available in Quasar v0.15.7 (CLI will probably be at 0.15.8).

@karabo25
Copy link

karabo25 commented Apr 1, 2024

Hey @rstoenescu

The text area does not seem scroll on mobile. When you try to scroll on the text area it move the entire web page.

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

No branches or pull requests

4 participants