single-line selection in editor on examples page is not visible

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

Start by opening the examples page and locating its editable code editor, then inspect how text selection is styled and rendered. Reproduce the issue by selecting a single line with Shift in an example; done when the selected text is visibly highlighted and the editor still supports copying it.

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

説明

In the following screenshot the industries within import { industries } from is selected. But as you can see it is not visible. You can only see the green on other instances of industries because
Image

Here's a video to better see the issue:
https://github.com/user-attachments/assets/3347748e-2414-4441-9d6d-41d736d49cc9

Background

I was editing the Industry unemployment stacked area example to apply the cursor anchor animated tooltip from shadcn Tooltip - Custom label to see (A) how adding the animated tooltip worked, and (B) whether changing the Industry unemployment stacked area from a non-animated tooltip anchored to the point to an animated tooltip following the mouse made the chart's tooltip make me feel less sick to my stomach (yes, it did). So I decided to use the fact that the example was editable to do so. But ended up slightly confused when I used shift to select some text to copy and the UI looked as if it was not responding to my interaction.

主要言語
TypeScript
スター
870
フォーク
57
平均マージ
11時間 58分
マージ済み PR(30日)
18

環境構築

はじめの一歩

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

TanStack/charts のほかの issue

TanStack/charts の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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