fix(action-sheet): set 100% height to fix scrollable options (#16789)

* test(action-sheet): include more buttons to scroll in the screenshot
This commit is contained in:
Brandy Carney
2018-12-17 17:27:03 -05:00
committed by GitHub
parent c9cef12316
commit e3d7282b57
2 changed files with 18 additions and 2 deletions

View File

@ -23,8 +23,8 @@
--width: #{$action-sheet-width}; --width: #{$action-sheet-width};
--max-width: #{$action-sheet-max-width}; --max-width: #{$action-sheet-max-width};
--min-height: auto; --min-height: auto;
--height: auto; --height: 100%;
--max-height: auto; --max-height: 100%;
@include font-smoothing(); @include font-smoothing();
@include position(0, 0, 0, 0); @include position(0, 0, 0, 0);

View File

@ -73,11 +73,21 @@
handler: () => { handler: () => {
console.log('Mark Unread clicked'); console.log('Mark Unread clicked');
} }
}, {
text: 'Mark Read',
handler: () => {
console.log('Mark Read clicked');
}
}, { }, {
text: 'Edit Title', text: 'Edit Title',
handler: () => { handler: () => {
console.log('Edit Title clicked'); console.log('Edit Title clicked');
} }
}, {
text: 'Erase Title',
handler: () => {
console.log('Erase Title clicked');
}
}, { }, {
text: 'Save Image', text: 'Save Image',
handler: () => { handler: () => {
@ -88,6 +98,12 @@
handler: () => { handler: () => {
console.log('Copy Image clicked'); console.log('Copy Image clicked');
} }
}, {
}, {
text: 'Erase Image',
handler: () => {
console.log('Erase Image clicked');
}
}, { }, {
text: 'Delete File', text: 'Delete File',
role: 'destructive', role: 'destructive',