We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
scrollHintShadowWrapClass
.scroll-hint-shadow-wrap
suggestiveShadow
true
.scroll-hint
pointer-events: none
visibility: visible
opacity: 1
▼scroll-hint.css
.scroll-hint-shadow-wrap { position: relative; } .scroll-hint-shadow-wrap::after { content: ""; width: 20px; height: 100%; background: linear-gradient(270deg, rgba(0, 0, 0, .15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0)); position: absolute; top: 0; right: 0; pointer-events: none; z-index: 1; opacity: 0; visibility: hidden; } .scroll-hint-shadow-wrap::before { content: ""; width: 20px; height: 100%; background: linear-gradient(90deg, rgba(0, 0, 0, .15) 0, rgba(0, 0, 0, 0) 16px, rgba(0, 0, 0, 0)); position: absolute; top: 0; left: 0; pointer-events: none; z-index: 1; opacity: 0; visibility: hidden; } .scroll-hint-shadow-wrap:has(.scroll-hint.is-right-scrollable)::after, .scroll-hint-shadow-wrap.is-right-scrollable::after { opacity: 1; visibility: visible; } .scroll-hint-shadow-wrap:has(.scroll-hint.is-left-scrollable)::before, .scroll-hint-shadow-wrap.is-left-scrollable::before { opacity: 1; visibility: visible; }
The text was updated successfully, but these errors were encountered:
@airi-miyamoto 確認が遅れてすみません。提案内容を拝見させていただきました。問題ないかと思うので、プルリクエストお待ちしております!
また、今後は issue なしで最初からプルリクエスト送っていただいても大丈夫です!なにか質問事項や懸念点があるときに issue を利用していただけるとありがたいです!
Sorry, something went wrong.
@airi-miyamoto @uidev1116 進捗が見られないため、私が修正を行ってみました。 PRすること自体が初めてで間違い等があるかもしれませんが、動作確認の上、マージをお願いいたします。
Merge pull request #36 from pixeliumjp/master
056b2ef
#34 の不具合に対する修正
#36 で解決済みとして close させていただきます。
No branches or pull requests
概要
解決法提案
JavaScript
scrollHintShadowWrapClass
として.scroll-hint-shadow-wrap
を追加suggestiveShadow
がtrue
の場合、.scroll-hint
をラップする.scroll-hint-shadow-wrap
を追加CSS
pointer-events: none
にする。.scroll-hint-shadow-wrap
自体にアクティブクラスがついた時か、.scroll-hint
にアクティブクラスがついた時にshadowをvisibility: visible
,opacity: 1
で見えるようにする。▼scroll-hint.css
The text was updated successfully, but these errors were encountered: