Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android4系で画像がボケる場合がある (Image blurred on Android 4.x) #51

Open
oosugi20 opened this issue Apr 23, 2015 · 0 comments

Comments

@oosugi20
Copy link

ボケるというか、ドットが少なくなって文字が読めない的になったり。

対策は2通り。

  1. disable3d: trueにする (ちょっと重いかも)
  2. 対象要素にテキストをいれる

ex.1

new Flipsnap(element, {
  disable3d: true
});

ex.2

<style>
.fixAndroid {
  position: absolute;
  left: -100px;
  width: 1px;
  overflow: hidden;
}
</style>

<div id="foo">
  <div class="fixAndroid">&nbsp;</div>
  <!-- items -->
</div>

<script>
new Flipsnap('#foo');
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant