Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Monster
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Libraries
Javascript
Monster
Commits
34f4683e
Verified
Commit
34f4683e
authored
4 months ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
fix(tabs): Only activate the closing behaviour if the closed tab was previously active. #264
parent
7d13ee9b
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
development/issues/closed/268.html
+5
-5
5 additions, 5 deletions
development/issues/closed/268.html
source/components/layout/tabs.mjs
+884
-855
884 additions, 855 deletions
source/components/layout/tabs.mjs
with
889 additions
and
860 deletions
development/issues/closed/268.html
+
5
−
5
View file @
34f4683e
...
@@ -16,11 +16,11 @@
...
@@ -16,11 +16,11 @@
<main>
<main>
<monster-tabs
data-monster-option-features-removeBehavior=
"auto"
>
<monster-tabs
data-monster-option-features-removeBehavior=
"auto"
>
<div
data-monster-button-label=
"A1"
data-monster-removable
>
test
</div>
<div
data-monster-button-label=
"A1"
data-monster-removable
>
test
1
</div>
<div
data-monster-button-label=
"A2"
data-monster-removable
>
test
</div>
<div
data-monster-button-label=
"A2"
data-monster-removable
>
test
2
</div>
<div
data-monster-button-label=
"A3"
class=
"active"
data-monster-removable
>
test
</div>
<div
data-monster-button-label=
"A3"
class=
"active"
data-monster-removable
>
test
3
</div>
<div
data-monster-button-label=
"A4"
data-monster-removable
>
test
</div>
<div
data-monster-button-label=
"A4"
data-monster-removable
>
test
44
</div>
<div
data-monster-button-label=
"A5"
data-monster-removable
>
test
</div>
<div
data-monster-button-label=
"A5"
data-monster-removable
>
test
55
</div>
</monster-tabs>
</monster-tabs>
</main>
</main>
...
...
This diff is collapsed.
Click to expand it.
source/components/layout/tabs.mjs
+
884
−
855
View file @
34f4683e
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment