This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Autogrow textarea fixes #2899
Closed
Closed
Autogrow textarea fixes #2899
Changes from 3 commits
Commits
Show all changes
137 commits
Select commit
Hold shift + click to select a range
dc30314
Makes textarea autogrow optional, resolves #1209
nantunes 2665203
Fixes textarea auto grow inside scrollable container (resolves #2007 …
nantunes 97e91aa
Adds support for textarea auto grow based on rows attribute (resolves…
nantunes eced631
update(build): fixes dry-run logic
4c1745f
update(docs): adds label overrides for FAB Speed Dial and FAB Toolbar
30a53c3
feat(fabToolbar): adds fabToolbar component
e813dcd
feat(fabSpeedDial): adds fabSpeedDial component
c985880
update(build): switches to conventional changelog fork with our prefe…
d765bdc
release: version 0.10.0-rc2
289274d
update version number in package.json to 0.10.0-rc2
c4e0196
update(docs): rolls back to AngularJS 1.3.15
c9d25dd
chore(tabs): refactors to remove link function from tabsDirective
fca1d5b
chore(changelog): fixes changelog in master
d0b385d
chore(changelog): pulled correct changelog from v0.10.0-rc1
781929d
fix(tabs): fixes infinite digests bug in Firefox
999e0da
fix(checkbox): adds ability to click links within checkbox
fb245fb
fix(mdMenu): fix rc2 complete break
rschmukler 2513153
fix(mdMenu): re-enable keyboard controls
rschmukler 94b03b0
fix(mdMenu): fix positioning breaking after scroll/resize
rschmukler 67be5ce
fix(mdMenu): close on scope $destroy
rschmukler d7bfc86
feat(select): add mdOnClose expression eval event
rschmukler 113ad44
fix(mdMenu): improve aria accessability
rschmukler 33c3397
update(util): makes the method for locking scrolling more generic
deae957
fix(autocomplete): locks scrolling while autocomplete menu is visible
781a4bc
fix(select): fix focus color not picking up theming
rschmukler 83a50f2
update(util): fixes scroll lock logic introduced in previous commit
e3e52c2
fix(tabs): nested tabs should now work properly when using md-tab-label
2552686
fix(tabs): fixes centered tabs for Safari
6019718
fix(tabs): fixes CSS to respect non-truthy values for `md-dynamic-hei…
3ac50ac
fix(theming): fixes bugs with progress circular and select theming
57e89dd
update version number in package.json to 0.10.0-rc3
e8ec2b5
fix(radioButton): fixes potential theming bug due to CSS specificity
ca2d5b7
update(docs): fixes log messages for dynamic demo
cc1d9d2
fix(tabs): calls on-select for the initially selected item
a0b3d5f
update(tabs): replaces hard-coded `transform` with
e53d9e9
chore(fabToolbar, fabSpeedDial): moves fabActions and fabTrigger into…
6781771
fix(autocomplete): fixes typo in autocomplete mouseup method
6911506
update(autocomplete): fixes somewhat major bug introduced in RC3 wher…
058efeb
chore(util): moves `nodesToArray` into `util.js` due to compile issue…
09694bc
update version number in package.json to 0.10.0-rc4
6d45f10
fix(tabs): programmatically changing tabs will now adjust pagination …
6bfc31e
fix(autocomplete): waits for screen to reposition on focus before
7b8efe2
fix(select): fixes screen jump in Firefox
afa213d
fix(autocomplete): prevents an error when passing null instead of an
43c273e
update version number in package.json to 0.10.0
5c08d5c
fix(menu): prevents scrollbar from unnecessarily showing up on the body
5bb722b
chore(menu): changed auto to hidden as there are some cases where aut…
8de8f7a
fix(button): fab buttons will no longer distort when used with flexbox
b1a144d
fix(button): fixes button styles so that <a> and <button> examples look
bbc53dc
update(docs): fixes docs site due to button style changes
1abc08b
update(build): fixes watch-demo logic
1be46cb
fix(autocomplete): fixes issue in Firefox/Linux where textChange is n…
0c66974
update(autocomplete): adds function check for itemChange
3e7ff23
fix(tabs): prevents error on empty tab list
robertmesserle b1046bc
fix(button): fixes button styles for components that override their d…
robertmesserle 6315228
chore(toast): fix type typo in toast docs (`boolean` > `string`).
jelbourn 7ca139a
fix(utils): update for Angular 1.4.1 compatibility
ThomasBurleson dab30b3
fix(icons): improve use of material-icons style
ThomasBurleson 4623a9d
update(icon): removed **ddescribe** used for isolated karma tests
ThomasBurleson a01f62e
update(docs, icon): clarify auto-add of 'material-icons' style.
ThomasBurleson f452abe
update(build): use of Angular v1.4.1
ThomasBurleson 62f5c7b
update(util): update initOptionalProperties() implementation
ThomasBurleson b8045df
feat(menu): do not propagate event in mdOpenMenu
Frank3K 9fb0b35
update(tests, mocks): test for stopPropogation
ThomasBurleson 6e9abdd
Switched RawGit for GitCDN
schme16 12a28aa
update(README): change docs to reference 0.10.0
ThomasBurleson 5f006fc
feat(Virtual repeater) Implements a virtual repeater
kseamon 436e5e2
update(tests, virtualRepeater): improved support for jQuery transform…
ThomasBurleson c134de9
update(tests): virtualRepeater transform tests
ThomasBurleson 1a534e0
update(tests, virtualRepeat): module name change
ThomasBurleson c10bf48
update(travis): build angular-material before tests
ThomasBurleson dc3a09b
update(travis): build only scss files.
ThomasBurleson 21d15ba
update(tests): karma config improvements
ThomasBurleson a2a06dd
update(demo): virtual repeat demo module name fixed.
ThomasBurleson dd11583
update(demo): improved description of virtual repeat demo
ThomasBurleson 73b1df4
fix(theming): make theme inheritance not depend on DOM order
rschmukler 691dd2f
fix(select): make select popup inherit theming
rschmukler 17f38b0
fix(menu): fix options with x-ng-click and data-ng-click not working
rschmukler e08f51d
style(menu): fix md-button rendering incorrectly
rschmukler f94820e
fix(menu): fix error on clicking on menu container element
rschmukler 082794f
style(menu): fix a.md-button rendering
rschmukler 5cc9af4
test(phantomJs): patch in HtmlElement.click for phantomjs
rschmukler 7ed0af6
fix(mdUtil): fix double scrollbar
rschmukler b4eac13
fix(disableScroll): fix scroll mask z-index blocking backdrops
rschmukler 4a6cd56
fix(menu): fix potential scoping issues on mdMenu
rschmukler 45005f2
update(release, codepen): use GitCDN urls
ThomasBurleson fb7b9b3
fix(css): stop using @extend for rules in a different module.
jelbourn c183e9b
fix(select): IE down arrow key error resolved
ThomasBurleson 05119a7
fix(select): refresh optionNodes reference
ThomasBurleson 7fe482c
fix(disableScroll): fix disable scroll creating scrollbar when none e…
rschmukler 5d9874f
feat(select): BREAKING: allow md-input-container label and remove
MagicIndustries 27b535e
update(menu): fix icon alignments in dropdown
ThomasBurleson bdf7039
update(docs): customize css for checkbox component
ThomasBurleson a0fd73e
update(docs): customize css for checkbox component
ThomasBurleson 98e91ae
feat(virtualRepeat): allow for scrolling areas larger than the browser's
jelbourn 2ccbc9d
fix(autocomplete): ngMessages should once again work with mdAutocomplete
9a045fb
feat(virtualRepeat): add md-start-index attribute.
jelbourn 4be344b
fix(select): fix md-select with no placeholder outside of
rschmukler c7c7180
fix(menu): menu not closing with clicks that disable element
rschmukler 16912ba
style(toolbar): fix allignment of md-menu to match md-button
rschmukler b8897db
feat(select): add md-container-class for custom styling
rschmukler ddfe523
fix(disableScroll): fix disable scroll breaking layout for fixed page
rschmukler 044dbdc
fix(select): fix menu positioning inside fixed elements
rschmukler cbbb4b9
fix(select): fix double label issue using placeholder in md-input-con…
rschmukler 1a8acd0
fix(select): mdInputContainer not realizing select had value
rschmukler e9f5a99
style(select,input): bring non-floating inputs and select into line
rschmukler 4f7af22
fix(select): fix empty attribute for selected not selecting options
rschmukler 862444a
fix(dialog): switch dialog to use disableScroll, fix focus trap
rschmukler 1414b3c
test(select,dialog): fix broken tests
rschmukler 288285c
fix(fabSpeedDial): fix many visual issues
topherfangio 7314e12
fix(autocomplete): selecting an item while loading will now hide the …
556be5f
fix(tabs): improves performance by reducing the number of digests cau…
f5959cc
fix(autocomplete): fixes infinite digest issue in IE11
1a15d99
fix(mdUtil,dialog): fix issues when autocompletes and selects were in…
rschmukler 44fda3d
fix(disableScroll): fix z-index getting set too large
rschmukler adcee7d
feat(select): add support for disabled
rschmukler 68bd4f4
update(tabs): cleans up tabs code to remove unnecessary watchers
0ec6f16
update(build): adds scripts section to package.json with helpful dev …
ee60441
update(build): replaces url with origin for now
6fc9212
fix(mdTooltip): fix regression that broke tooltips on Firefox
Splaktar 79dcbf7
feat(virtualRepeat): Add md-auto-shrink and md-auto-shrink-min
kseamon c164ef0
update(virtualRepeat): Make md-item-size optional
kseamon f5cd5a0
fix(tabs): prevents an error from being thrown if an empty attribute …
a161013
update(tabs): rolls back manual two-way binding of 'selectedIndex' fo…
61a0e53
fix($mdConstant): fix overlapping in media-queries
gkalpak caf6977
update(fabSpeedDial): fix positioning for mixed button sizes
cebor 0fbe335
refactor(gulpfile): use forEach instead of filter
noamokman 59c7335
upate(icon): Allow chaining on `$mdIconProvider.fontSet()` method
shprink 52ca5e5
fix(textarea): Start at a height of one line
calebegg 3062df0
update(docs): rolls back to Angular v1.3.15 until v1.4.2 is released
720ed90
feature(build): add concatenated SCSS file for distribution
myurasov b7146dc
chore(): simplify .gitignore
tkrotoff 4c6de14
Makes textarea autogrow optional, resolves #1209
nantunes 9363a13
Fixes textarea auto grow inside scrollable container (resolves #2007 …
nantunes c986e7b
Adds support for textarea auto grow based on rows attribute (resolves…
nantunes adc0b99
Merge branch 'autogrow-textarea-fix' of github.com:nantunes/material …
nantunes 9d81e07
Avoid "rows" attribute unintended overwrite by default value
nantunes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,6 +138,10 @@ md-input-container { | |
outline: none; | ||
box-shadow: none; | ||
} | ||
|
||
&.md-no-flex { | ||
flex: none !important; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We try to avoid There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't really love this solution, as md-no-flex is an "utility" class. But I had no success defining temporarily the 'flex: none' on the element directly (where it would take precedence over all the other rules). Do you have any suggestions? |
||
} | ||
} | ||
|
||
ng-messages, data-ng-messages, x-ng-messages, | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't really understand what onScroll does... Hence the if block.