Skip to content

Commit

Permalink
Fix textarea tracking being stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Oct 1, 2019
1 parent 5f92c3c commit 6080e95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ function computeBundleLabel(bundleId) {
if (bundleId === 'packages/material-ui/build/umd/material-ui.production.min.js') {
return '@material-ui/core[umd]';
}
if (bundleId === '@material-ui/core/Textarea') {
return '/core/TextareaAutosize';
}
return bundleId.replace(/^@material-ui\/core\//, '/core/').replace(/\.esm$/, '');
}

Expand Down
4 changes: 3 additions & 1 deletion scripts/sizeSnapshot/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ async function getSizeLimitBundles() {
let entryName = componentName;
if (componentName === 'Paper') {
entryName = '@material-ui/core/Paper.esm';
} else if (['Popper', 'TextArea'].indexOf(componentName) !== -1) {
} else if (componentName === 'TextareaAutosize') {
entryName = '@material-ui/core/Textarea';
} else if (['Popper'].indexOf(componentName) !== -1) {
entryName = `@material-ui/core/${componentName}`;
}

Expand Down

0 comments on commit 6080e95

Please sign in to comment.