vercel / vercel/hyper

Unable to set text selection color on WebGL renderer on v3

Open
#3,632 4 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

WebGL Renderer
Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • [x ] I am on the latest Hyper.app version
  • [x ] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 10
  • Hyper.app version: v3 stable
  • Link of a Gist with the contents of your .hyper.js:
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Using Hyper with the WebGL renderer causes the text selection color default to white even though I have set my custom text selection color in .hyper.js. WebGL doesn't support transparent colors, so I have set my custom color to be non-transparent but still there is no color just white background and black foreground kind of selection.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the .hyper.js configuration and the WebGL renderer's handling of text selection styling, comparing it with the non-WebGL renderer if available. Reproduce the issue on Windows 10 with a non-transparent custom selection color and verify that the configured color is applied instead of the white default.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.