Skip to content

feat(): set platform mode on overlay components - #12167

Closed
Manduro wants to merge 40 commits into
ionic-team:masterfrom
Manduro:overlay-cmp-mode
Closed

feat(): set platform mode on overlay components#12167
Manduro wants to merge 40 commits into
ionic-team:masterfrom
Manduro:overlay-cmp-mode

Conversation

@Manduro

@Manduro Manduro commented Jun 27, 2017

Copy link
Copy Markdown
Contributor

Short description of what this resolves:

Add option to set the platform mode when creating an overlay component. This allows you to use an iOS style Action Sheet in an MD mode app, for example.

It works like passing a mode as input to a component, but with overlay components you pass it as an option to the controller. Alert already allows this in the same way. Now supports Action Sheet, Loading, Picker, Popover and Toast.

Changes proposed in this pull request:

  • Create consistency in all overlay components to allow setting platform mode.
  • Import PopoverOptions and ToastOptions instead of duplicating definitions.

Possible future work

It might be nice to abstract some of the overlay components logic away in a super class, like the Ion class does for normal components. This ensures more consistency in the future.

Ionic Version: 3.x

Related issues

#10200

brandyscarney and others added 30 commits June 12, 2017 13:51
When `Tabs` are nested within each other, the highlight can get
misaligned. This prevents that by ensuring the affected
`.tab-highlight` is a direct child of the targeted `Tabs`.
…tabs

* wip

* wip

* progress

* wippy skippy

* getting there

* all tests passing except goBack

* unit tests pass again boi

* goBack tests pass

* great success

* the good stuff
@Ionitron

Copy link
Copy Markdown
Collaborator

Hello and thank you for contributing to Ionic! We have been working on porting all of the Ionic components to web components and have recently updated master to reflect this. This significant change has caused this pull request to break. While we really appreciate the time and effort you put into creating this, we are not able to merge it because of the newly introduced conflicts. We are extremely sorry about this. We will not be merging any more features in to v3. If this is a feature and you have the time, please resubmit this PR against the master branch. If this is a critical security issue in v3, we would greatly appreciate it if you would resubmit the PR against the new v3 branch. Thanks so much for your time!

@Ionitron Ionitron closed this Mar 12, 2018
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

Successfully merging this pull request may close these issues.