Coder Social home page Coder Social logo

select-or-die's People

Contributors

builtbylane avatar vestman avatar

Stargazers

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

Watchers

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

select-or-die's Issues

wasted @import font call

Can you change the font to use a web-safe font instead of the google font?

The google font import makes an unnecessary call when the font is overridden in my project styles. When using bower it is not best practice to change anything in the packages you use. I import the package .css into my .css and then override specific rules. This doesn't work for the font @import. I can also copy the package .css to my project folder, but again this is not ideal as I'd essentially be forking the code locally.

This is a super small issue, but solving it would make this this already awesome plugin even awesomer!

Value not retained when selecting via sod_label.

After selecting a value with the keyboard, and then click on the sod_label the label is changed. Upon navigating away from the field, the sod_label is reset to the original selected value, not the active value.

Multiple select elements on a single page on IOS

There seems to be an issue with the plugin when you have multiple select fields on the same page. The plugin works great on desktop but on iPad and iPhone anytime you press an item all select or die elements get reset โ€” visually. The values of the select elements work though. I saw that this was a previous issue, and apparently it was resolved but I am still having this issue.

Multiple Select

I would like to reopen #1, as there currently is no support for this but its a pretty useful feature.

Multiple select

Hello, it`s a really cool plugin. Better select what I see. But it need to multiselect. Very need. Can you, please, do it.
Thanks in advance. and sorry for my English...

IE9/IE10 not working

Hi,
I tested your plugin on IE9 and IE10 from your website (http://vst.mn/selectordie/) and I noticed that it doesn't work. Indeed when I change the active option the select won't update.

And in your compability section you wrote it works on IE8+.

Do you have any issues?

More Callback functions

I needed to trigger a function on clicking the select, so I added callback function just like onChange and added it to the "triggerSod" function.

So my request is for more Callback functions, for instance: onOpen, onClose, etc.

Maybe more people would find these useful.

Replace placeholder text with selected list item text on submit?

Fantastic widget! Thank you so much for your work on this.

I have a request, unless the functionality is there and I'm not using it correctly! When I use placeholder text, I've noticed when you submit a form, the placeholder text is showing in the select boxes rather than the selectors showing the previously selected list item. Is there a way of doing this?

Thanks!

Selectordie not displayed correctly

We are using your plugin and for some time now the display of the control is not working correctly.
I am attaching the screen shot for more explaination.
img_1686
img_1685

Revert me if any further information required from my side to get this issue fixed.

Thanks.

Adding a Size breaks the drop down?

I added a "size" to the configuration and it seems to break the dropdown. I see a drop down but it's only about 5 pixels tall with no data inside. Any idea what I'm doing wrong?

$("#add-collection select").selectOrDie({
    cycle: true,
    size: 3
});

IOS selection reset issue

After you make a selection on IOS and click on another input field, it resets the selection.

On your live demo site, it doesn't have this issue. Maybe the current download is not up to date?

Problems when navigating back or forward in Chrome

For some reason, when you navigate back or forward in chrome, some of the select fields break. This is even happening on your demo site.

To reproduce:

You'll notice then that the first select on your demo page is empty.

image

If you click this select, you'll notice the error "Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined" in the console

image

The rest of the selects work, other than the one in the "Disable / Enable" section. If you click on this select, you get another error "Uncaught TypeError: Cannot set property 'nodeValue' of null".

image

select is not updated on tabing

If hte dropdown is selected but not folded out, and I navigate with arrow keys, the select is not updated when I tab. Only when I click enter.

No focus loss

So when you've got many selects in row and tabbing through them they ain't loses focus.
Also when SoD select catch the focus and you switch value by arrows or holding some keys on keyboard and then you tab to the next field selected value is still selected, but if you just click somewhere value returns to the previous state. In the last case only pressing enter will actually set the selected value.

Here is a gif to illustrate this issue. Red border color is set only for .sod_select.focus

selectordiefocusbug

Get results from selection through $_POST

Hello,

How do I go about getting the result from SoD when submitting it through an HTML form? I have printed out the $_POST data, and the selection data is nowhere to be found. How do I go about getting this information?

Replace DIVs with inline content

A select is inline (phrasing) content, and thus a common practice is to place them within p elements. So the select-or-die replacement element should follow this.

The update method does not offer any update of the config

In order to "update" an already existing select field with a new config, I have to destroy the old SoD field first, and then re-create on with the new settings.

Is there a way to do something like:

$('#select').selectOrDie('update', {
    onChange: function() {
        // ...
    }
})

Dropdown not activating if the parent container is hidden on page load.

Hi, I seem to have encountered an issue where the select menu is not opening up when you load the page with the parent container hidden.

I'm using jquery's slideToggle(); from a click event to show the form with the selectordie inside it. There are no errors in the console.

If on the otherhand, the parent container is display: block on the page load, SoD functions perfectly.

Thanks

Please copy the instructions from your website to the github readme file

The website you link to for instructions on usage in the github readme is no longer available. Can you for historical purposes please update the github readme to include the basic configuration instructions that you were hosting off-site before.

It may be a surprise people are still using the plugin but they are. In my case it's because it was used in a shopify theme that I still have to support and the client doesn't want to change.

Not functioning on Firefox 30.0

Hi,

was implementing this in one project and saw today that the plugin does not seem to work on the latest version of Firefox 30.0.

Please check your plugin homepage for example:
http://vst.mn/selectordie/

Otherwise, a great plugin, keep up the good work!

Sorry for the lack of updates

Hi,

Sorry to all of you who has been using the Select or Die. I haven't had the time to look at the issues that's been submitted. I will make sure to take a look at them ASAP.

Option list in overflow hidden container issue

For instance, when the select input is inside an overflow:hidden container, the option list is hidden too. That looks normal, but it doesn't look as a default select option list behaviour.

Would it be possible to add an option in order to choose where the option list will be appended (such as body) ? Then it'll surely have to follow the input if it moves (as scrolling).
Like :

listParent : 'body'

or :

listParent : $('body')

P.S. : Tell me if you have no time to develop this, I could eventually make it.

Responsive styling of sod using percentages

Hi there, I've been having trouble styling the sod in a fluid container. If I use percentages, I need to set the sod_list_wrapper to width=101% so that it matches the sod_select element. However, on certain screen dimensions, the sod_list_wrapper appears to be a pixel or two smaller than the sod_select, making the edges look jagged and not clean at all. Do you know of any solutions for this?

WAI-ARIA-markup

Love, love, love the work you've put in to this โ€“ would love to see ARIA-tags for accessibility as well, though.

Updates

Are there any plans to update this plugin soon?

Using with mixitup

I'm using mixitup jQuery plugin for content filtering. It works good with plain selects: http://codepen.io/patrickkunka/pen/Fqocw
But when I use selectordie to customize the selects, mixitup stops working.

Here is how mixitup fires:

$filters.on('change', 'select', function(e){
    ...
});

How can I make it working?

Not functioning on IE 11.0.9600

I'm soooooo disapointed because it's a very nice plugin but does'nt work on IE 11 on Win7, (not changing the item on selection even if the "onChange" function seems to be triggered...)
I hate IE... I don't want to debug on IE sorry
But works fine on my Chrome and FF !

Filterable option select

Hey,

Love your script. Making some dumb mistake on implementing with a filterable list of options. Do I need to add something to call in order to get it to trigger the filtered option when it has been selected?

Thanks,
Justin

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.