Code Monkey home page Code Monkey logo

wp-customize-pane-resizer's Introduction

Customize Pane Resizer

Feature plugin for WordPress Trac #32296: Allow the customizer be made wider

Contributors: jtsternberg, westonruter, wordpressdotorg
Requires at least: 4.4
Tested up to: 4.4
Stable tag: trunk (master)
License: GPLv2 or later

Build Status Coverage Status Built with Grunt devDependency Status

Description

Feature plugin for WordPress Trac #32296: Allow the customizer be made wider

wp-customize-pane-resizer's People

Contributors

jtsternberg avatar natewr avatar westonruter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wp-customize-pane-resizer's Issues

Prevent dropping resizer when it snaps

When dragging the resizer/grabber to the far left so as to collapse the sidebar entirely, the mouse (and touch I presume) loses hold of the grabber requiring he user to re-click on it to drag it back out. The same behavior happens when dragging the grabber all the way to the right. It would be ideal of the “holding” state would never get dropped. If dragging to the left and it snaps to the far left edge of the screen, it could immediately bounce back to the minimum pane width if the user starts dragging to the right again.

Does not work 😡

Hey,

I am not sure what I did wrong but I cannot resize the customizer on my test site.

I am running WP 4.4-RC1-35761 on PHP 7 using Twenty Sixteen.

Checking the console I only have a warning "RESIZER-JS" but no JS errors.

The HTML <div class="customizer-resizer"></div> does get added to the markup so something is working.

Favicon can get really big

screen shot 2015-12-03 at 6 04 28 pm

screen shot 2015-12-03 at 6 05 37 pm

We should consider adding a max-width on the favicon image (and probably the buttons underneath it) so it doesn't distort too much.

Remember the user's pane width preference

If I drag the resizer to make the pane twice as big, and then I reload the Customizer, the pane width should restore to the previously-selected width. It could store the user's pane width preference in localStorage.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.