Swiper: 3D Cube Effect - top-half of shadow disappeared when I am dragging it

Created on 14 May 2019  ·  7Comments  ·  Source: nolimits4web/swiper

This is a (multiple allowed):

  • [x] bug
  • [ ] enhancement
  • [ ] feature-discussion (RFC)

What you did

drag from right to left

Expected Behavior

shadow always showing

Actual Behavior

top-half of shadow disappeared when I am dragging it
云之家图片20190514180351
云之家图片20190514180411
云之家图片20190514180422

P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that.

Before you open an issue, please check if a similar issue already exists or has been closed before.

Most helpful comment

+1 on this, this should be opened and addressed.
In general, the cube shadow works very badly in Chrome while it is perfect in Firefox.
The cube shadow system should be replaced with something that renders better in chrome...

All 7 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

+1 on this, this should be opened and addressed.
In general, the cube shadow works very badly in Chrome while it is perfect in Firefox.
The cube shadow system should be replaced with something that renders better in chrome...

Please fix it :)

过了一年多都没解决吗 bug缠身?坐等chrome修复?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Moving blur & shadow to :before element seems like fixing the issue in chrome.
https://stackblitz.com/edit/swiper-demo-23-3d-cube-effect-cazhqo

.swiper-cube-shadow {
  -webkit-filter: initial !important;
  filter: initial !important;
  background: none !important;
}

.swiper-cube-shadow:before {
  content: "";
  background: #000;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  -webkit-filter: blur(50px);
  filter: blur(50px);
}

终于解决 感谢

Was this page helpful?
0 / 5 - 0 ratings