-
-
Notifications
You must be signed in to change notification settings - Fork 443
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checks
- Not a duplicate.
- Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
Version
v4.1.3
Description
When I was developing a carousel plug-in using splide on Shopify, I found that I couldn't use touch to slide horizontally on the mobile side. I could only switch between them using the left and right switch buttons and automatic carousel.
If I keep swiping horizontally, sometimes it works by touch swiping, but not every time.
Reproduction Link
No response
Steps to Reproduce
1.Create a component file
2.Below is the code from the file:
{%- if title_text != blank -%}
<{{heading_tag }} class="{{section.id}}-brand-swiper-title page-width">{{ title_text | escape }}
{%- endif -%}
{%- if section.blocks.size > 0 -%}
{%- endif -%}
{%- if section.blocks.size > 0 -%}
-
{%- for block in section.blocks -%}
{% assign index = forloop.index %}
-
{%- if block.settings.link != blank -%}
{%- else -%}
{%- endif -%}{%- endif -%}{% if block.settings.brand_img_pc != blank %} {% if block.settings.brand_img_mobile != blank %}{% if block.settings.brand_title_pc != blank or block.settings.brand_subtitle_pc != blank %}
{% endif %}
{% else %} {%- render 'placeholder-svg', name: 'lifestyle-1' -%} {% endif %}
{% if block.settings.brand_title_pc != blank %} {% if block.settings.brand_title_mobile != blank %}{% endif %} {%- if block.settings.link != blank -%} {%- else -%}{{ block.settings.brand_title_mobile }}{% endif %}{{ block.settings.brand_title_pc }}{% endif %} {% if block.settings.brand_subtitle_pc != blank %} {% if block.settings.brand_subtitle_mobile != blank %}{{ block.settings.brand_subtitle_mobile }}{% endif %}{{ block.settings.brand_subtitle_pc }}{% endif %}
{% endfor %}
{%- for block in section.blocks -%}
{% endfor %}
{% endif %}
MobileTouch.mp4
文件
Expected Behaviour
Solve the problem that the v4 version cannot be switched horizontally on the mobile side in Shopify development
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working