Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed broken modals in SemanticUI 2.3 #361

Closed
wants to merge 3 commits into from

Conversation

yhnavein
Copy link

Before submitting a pull request, please make sure you have at least performed the following:

  • read and followed the CONTRIBUTING.md guide.
  • linted, built and -tested- the changes locally.
  • added/updated any applicable API documentation.
  • added/updated any applicable demos.

The new Semantic UI in version 2.3 was breaking all modals, so I fixed them in your library.
Additionally I've added bindings for the new property in the modals as well.

To actually make it working I had to adjust package.json config as the newest version of TypeScript was used by default and it wasn't my intention to rewrite your whole repository to make it compliant with changes in TS 2.7 and compatible tslint.

Tests were not working for me at all, so I did not change them.

removed close icon on modal, as it's not in the original SUI at all
@yhnavein yhnavein changed the title Feat sui 2.3 Fixed broken modals in SemanticUI 2.3 Mar 21, 2018
@@ -139,6 +140,10 @@ export class SuiModal<T, U> implements OnInit, AfterViewInit {
this._isInverted = Util.DOM.parseBooleanAttribute(inverted);
}

// Wheter or not the modal should be placed in the center of the page. When `false` it will be aligned to the top of the page

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in comment

@yhnavein yhnavein closed this May 22, 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.

2 participants