Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/tabView.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Ref from "html-tag-js/ref";
* @param {string} param0.id
* @returns
*/
export default function TabView({ id }, children) {
export default function TabView({ id, disableSwipe = false }, children) {
let moveX = 0;
let moveY = 0;
let lastX = 0;
Expand All @@ -17,7 +17,7 @@ export default function TabView({ id }, children) {
<div
ref={el}
onclick={changeTab}
ontouchstart={ontouchstart}
ontouchstart={!disableSwipe ? ontouchstart : null}
className="main"
id={id}
>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/plugin/plugin.view.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default (props) => {
</div>
<MoreInfo {...props} />
</div>
<TabView id="plugin-tab">
<TabView id="plugin-tab" disableSwipe={true}>
<div className="options" onclick={handleTabClick}>
<span className="tab active" data-tab="overview" tabindex="0">
Overview
Expand Down
Loading