Skip to content

Commit

Permalink
fix(picker): fix iOS picker options that shouldn't be showing (#16055)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley authored Oct 24, 2018
1 parent b2021fd commit 02ef52b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/src/components/datetime/test/standalone/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ it('datetime: standalone', async () => {

const picker = await page.find('ion-picker');
await picker.waitForVisible();
await page.waitFor(250);

compare = await page.compareScreenshot('should open basic picker');
expect(compare).toMatchScreenshot();
Expand Down
3 changes: 3 additions & 0 deletions core/src/components/picker-column/picker-column.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ export class PickerColumnCmp implements ComponentInterface {
translateY = 0;
translateZ = 90;
transform = `rotateX(${rotateX}deg) `;
} else {
translateY = -9999;
}

} else {
translateZ = 0;
translateY = optOffset;
Expand Down
2 changes: 2 additions & 0 deletions core/src/components/select/test/basic/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ it('select: basic', async () => {

const alert = await page.find('ion-alert');
await alert.waitForVisible();
await page.waitFor(100);

compare = await page.compareScreenshot('should open gender single select');
expect(compare).toMatchScreenshot();
Expand All @@ -21,6 +22,7 @@ it('select: basic', async () => {

select = await page.find('#customSelect');
await select.click();
await page.waitFor(100);

const actionSheet = await page.find('ion-action-sheet');
await actionSheet.waitForVisible();
Expand Down

0 comments on commit 02ef52b

Please sign in to comment.