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

iOS ion-input .native-input[disabled] opacity

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

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

評価

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

調査の方向性

app.module.ts のモード設定と、.native-input[disabled] に対する variables.scss のルールから始めます。iOS で無効化された ion-input の表示を再現して Android と比較し、どの Ionic スタイルが不透明度を追加しているかを確認します。完了条件は、意図された無効化入力の色と不透明度が iOS でも同様に適用されることです。

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

説明

triage

Description:

I was changing my CSS theme when I realized that in iOS for some reason the opacity is not removed in the ion-inputs.

I have my application configured in md style and I have a class for all native-input[disabled] and on android is fine but on iOS looks like it has extra non-configurable opacity which makes the letter barely readable with that tone.
Hope some help on this.
All the best.

Steps to Reproduce:

// in app.module.ts
  IonicModule.forRoot({
	  mode: 'md'
  })

// in variables.scss inside root:
  .native-input[disabled] {
    opacity: 1;
    background-color: transparent;
    color: var(--ion-color-medium); // #999999
  }

Output:

My ionic info:


Ionic:

   Ionic CLI                     : 6.17.1 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.8.4
   @angular-devkit/build-angular : 12.1.4
   @angular-devkit/schematics    : 12.2.11
   @angular/cli                  : 12.1.4
   @ionic/angular-toolkit        : 4.0.0

Capacitor:

   Capacitor CLI      : 3.2.5
   @capacitor/android : 3.2.5
   @capacitor/core    : 3.2.5
   @capacitor/ios     : 3.2.4

Utility:

   cordova-res : 0.15.3
   native-run  : 1.5.0

System:

   NodeJS : v14.18.0 (/usr/local/bin/node)
   npm    : 7.24.2
   OS     : macOS Big Sur

Other Information:

主要言語
TypeScript
スター
2k
フォーク
681
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

ionic-team/ionic-cli のほかの issue

ionic-team/ionic-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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