Responsive-Tabs icon indicating copy to clipboard operation
Responsive-Tabs copied to clipboard

Possible to disable automatic closing of non active accordion

Open jonathan-dejong opened this issue 9 years ago • 3 comments

Hi!

When using the accordion layout (we use it on mobile) and opening a new "tab" any previous tabs are being automatically closed. That's fine except that when you have opened a tab with a lot of content and then open another one below that (without closing the first one) the new tab slides out, then the old one slides in and the results are that the visitor is now at the bottom of the newly opened tab and have to scroll all the way back up to start reading the content.

I haven't found a setting where I can disable this behaviour? To just keep any opened tab still open

jonathan-dejong avatar Dec 18 '14 09:12 jonathan-dejong

Hi Jonathan,

Leaving accordion panels open sounds like a good new feature to me :). This is indeed not possible as of yet. This will however be a pretty big change. Another solution for your problem could be a scroll action to the opened panel, that would be easier to add as a feature.

jellekralt avatar Dec 18 '14 20:12 jellekralt

I also need to not auto-close accordions when another one has been opened. Is this possible yet?

Fayence avatar Feb 25 '15 17:02 Fayence

Solution for this would be to use: scrollToAccordion: true

It will then after closing "jump" to the open accordion.

Be sure to use the latest version of this plugin.

knauso avatar Oct 18 '21 09:10 knauso