Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Toggling IsVisible on MaterialCard will remove elevation in iOS

オープン
#400 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp
領域
mobile-dev

調査の方向性

まず、Elevation='2' の MaterialCard で問題を再現し、iOS でバインドされた IsVisible プロパティを false と true に切り替えます。記載されている Xamarin.Forms と Xamarin.Forms.Visual.Material のバージョンを使用して、iOS における MaterialCard の可視性と elevation の処理を追跡します。可視性の切り替えを繰り返した後も elevation が変わらなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

🐛 Bug Report

When you use a MaterialCard and have an Elevation value on it, then this elevation will disappear when toggling IsVisible to false and then back to true via BindableProperties. This only happens on iOS.

Expected behavior

MaterialCard and Elevation will stay the same, even when hiding/showing multiple times.

Reproduction steps

Step 1: Create a Control with a MaterialCard and put an Elevation value of '2' on it.
Step 2: Consume this Control in your View.
Step 3: Bind to the IsVisible property of that control within your ViewModel for that View.
Step 4: Toggle the IsVisible to false and then back to true.
Step 5: You should have seen the bug now!

Configuration
  • IPhone XR with iOS 14.0
  • Xamarin Forms: v4.8.0.1687 (latest stable)
  • Xamarin.Forms.Visual.Material: v4.8.0.1687 (latest stable)

Version: 1.7.4 (latest stable)

Platform:

  • 📱 iOS
  • 🤖 Android
  • 🏁 WPF
  • 🌎 UWP
  • 🍎 MacOS
  • 📺 tvOS
  • 🐒 Xamarin.Forms
主要言語
C#
スター
633
フォーク
150
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Baseflow/XF-Material-Library のほかの issue

Baseflow/XF-Material-Library の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。