Skip to content

Conversation

@bertysentry
Copy link
Collaborator

Another PR, on top of the previous one (I can rebase if you don't want the 1st one for issue #31)

This one fixes the width of toggle to adjust for longer labels.

* Upgraded packages, modules and dependencies
* Fixed JSHint issues
* Changed `onstyle` for `onClass` and `offstyle` for `offClass`
@bertysentry
Copy link
Collaborator Author

You'll note that this PR includes the commits of the first PR I submitted ;-)

* Removed global variables
* Fixed the toggle initialization so that it doesn't toggle twice from on, to off, to on again
* Removed unnecessary $watch of ngModel
* Really fixed the width issue. Using _scrollWidth_ works well and does not require checking the wrapper width.
@bertysentry
Copy link
Collaborator Author

@ziscloud Any chance you approve and merge these PRs? I think they are worth it: important bug fixes and enhancements. Thanks!

@ziscloud ziscloud merged commit bbccfe3 into ziscloud:master Sep 10, 2018
@bertysentry
Copy link
Collaborator Author

thank you @ziscloud !

@bertysentry bertysentry deleted the feature/issue-33-width-issue branch October 1, 2018 20:56
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