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.
Previously selected active tab after page refresh/reload.
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.
Joomla 3.6.4
Firefox 52
Chrome 54
Looks like the tabstate trying to activate hidden tab in modal and call something in Bootstrap modal which hide/block page scroll.
Labels |
Added:
?
|
Category | ⇒ | UI/UX |
Priority | Medium | ⇒ | Low |
Status | New | ⇒ | Needs Review |
Build | staging | ⇒ | 3.6.4 |
Status | Needs Review | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-05-22 09:47:26 |
Closed_By | ⇒ | joomla-cms-bot |
Status | Closed | ⇒ | Needs Review |
Status | Needs Review | ⇒ | Closed |
Closed_Date | 2019-05-22 09:47:26 | ⇒ | 2019-05-22 09:47:27 |
Closed_By | joomla-cms-bot | ⇒ | alikon |
after more than 2 years without any follow-up
i'm going to close it.
it can be always reopened if needed
after more than 2 years without any follow-up
i'm going to close it.
it can be always reopened if needed
Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/14869