Skip to content

Conversation

@CaMer0n
Copy link

@CaMer0n CaMer0n commented Feb 18, 2021

Hello. I haven't tested this with Bootstrap4, but it definitely works with Bootstrap 3.
Bootstrap4 can use ul and div for dropdown menus, but bootstrap3 only ul. So version 2 did not work well with Bootstrap 3.
I just realized (looking at the diff) that you implemented 'endKey', but it was not in the 'dist' version, only the 'src' version.
I added it as well. I needed the option to use a line-break \n after an insert, instead of a blank space.
Also, long lists would flow off the page, so I add an overflow-y to the ul in the css file.

Anyway, a pull-request for your consideration.

if ($this.is('.active')) {
if (!$prev.is('.d-none')) {
if (!$prev.is('.hidden')) {
$this.removeClass('active');
Copy link
Author

Choose a reason for hiding this comment

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

I guess this may need to be !$prev.is('.hidden') || !$prev.is('.d-none')

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.

1 participant