?
avatar Globulopolis
Globulopolis
23 Mar 2017

Steps to reproduce the issue

Add JHtml::_('behavior.tabstate');
Add tabs on page

<div>
	<?php echo JHtml::_('bootstrap.startTabSet', 'upload_tab', array('active' => 'local')); ?>
	<?php echo JHtml::_('bootstrap.addTab', 'upload_tab', 'local', JText::_('LOCAL')); ?>
		... Content
	<?php echo JHtml::_('bootstrap.endTab'); ?>
	<?php echo JHtml::_('bootstrap.addTab', 'upload_tab', 'remote', JText::_('REMOTE')); ?>
		... Content
	<?php echo JHtml::_('bootstrap.endTab'); ?>
	<?php echo JHtml::_('bootstrap.endTabSet'); ?>
</div>

When add modal with tabs to the same page

echo JHtml::_(
	'bootstrap.renderModal',
	'selectPhotoModal',
	array(
		'title'  => JText::_('NOTICE'),
		'modalHeight' => '50%'
	),
	JLayoutHelper::render('layouts.edit.select_image')
);

Layout file contain tabs too.

Expected result

Previously selected active tab after page refresh/reload.

Actual result

Activated tab after page refresh/reload but without window scroll. And when I try to scroll page with mouse it's not working. Only by buttons or PageUp/PageDown.

System information (as much as possible)

Joomla 3.6.4
Firefox 52
Chrome 54

Additional comments

Looks like the tabstate trying to activate hidden tab in modal and call something in Bootstrap modal which hide/block page scroll.

avatar Globulopolis Globulopolis - open - 23 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - change - 23 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Mar 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Mar 2017
Category UI/UX
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Apr 2017
Priority Medium Low
Status New Needs Review
Build staging 3.6.4
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar joomla-cms-bot joomla-cms-bot - change - 22 May 2019
Status Needs Review Closed
Closed_Date 0000-00-00 00:00:00 2019-05-22 09:47:26
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - change - 22 May 2019
Status Closed Needs Review
avatar joomla-cms-bot joomla-cms-bot - close - 22 May 2019
avatar joomla-cms-bot joomla-cms-bot - unlabeled - 22 May 2019
avatar alikon alikon - change - 22 May 2019
Status Needs Review Closed
Closed_Date 2019-05-22 09:47:26 2019-05-22 09:47:27
Closed_By joomla-cms-bot alikon
avatar joomla-cms-bot
joomla-cms-bot - comment - 22 May 2019

Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/14869

avatar alikon
alikon - comment - 22 May 2019

after more than 2 years without any follow-up
i'm going to close it.
it can be always reopened if needed


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14869.

avatar alikon
alikon - comment - 22 May 2019

after more than 2 years without any follow-up
i'm going to close it.
it can be always reopened if needed


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14869.

Add a Comment

Login with GitHub to post a comment