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

Implement: Show widget form controls initially in collapsed state #12

Merged
merged 5 commits into from Sep 17, 2013

Conversation

johnregan3
Copy link
Contributor

Adds accordion-style tabs to hide/show widget interface. Causes jumpiness when widget tab expands down the page causing the scrollbar to appear. Not sure what we can do about this without forcing the scrollbar at all times.

Fixes #7

</h4>
</div>
</div>
<!-- need to remove display:block -->
Copy link
Contributor

Choose a reason for hiding this comment

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

@johnregan3 is it removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@westonruter Geez, yeah. I just forgot to remove my note to remove that. Ironic, huh?

johnregan3 and others added 3 commits September 16, 2013 17:45
Click event handlers from other controls were effecting each other.
Result was the widget could not expand if there was an even number
of widgets in the sidebar, since they would all cancel each other out.

Use toggle code as found in WordPress core's widgets.js
Normalize JS methods to be camelCase
@westonruter
Copy link
Contributor

Since the widgets are collapsed by default, and since there could be any number of Text widgets (for example), it's important that the in-widget-title be displayed. So I added support for that in 7d31496:

customize_twenty_eleven__wordpress_and_7 bash_and_all_items-_google_drive

westonruter added a commit that referenced this pull request Sep 17, 2013
Implement: Show widget form controls initially in collapsed state

Props @johnregan3 @westonruter
@westonruter westonruter merged commit b381e16 into master Sep 17, 2013
fnakstad added a commit to knishiura-lab/wp-widget-customizer that referenced this pull request Feb 5, 2014
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.

Show widget form controls initially in collapsed state
2 participants