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

Double-click issue affecting window location by appending # #45

Open
brian-learningpool opened this issue Nov 14, 2014 · 1 comment
Open

Comments

@brian-learningpool
Copy link

I've noticed that double-clicking on a color picker to select a color also seems to affect the browser's address bar, specifically, by appending a # character. This can actually be re-created on the project homepage at http://automattic.github.io/Iris/.

This causes serious problems for single page apps. Right now it makes Iris unsuitable for the BackboneJS app I'm working on. Can anything be done?

@joshcummingsdesign
Copy link

Hi Brian,

Adding prevent default to the slider handle is a work-around for now. Any updates on this?

$('.ui-slider-handle').click(function(e){
     e.preventDefault();
});

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

No branches or pull requests

2 participants