Open canonsir opened 4 months ago
场景: 自定义 Select 选中项后, 需要支持 dark mode 主题, Select 选中项文字样式跟随主题切换
问题: 外部感知到 dark mode 更新后, 尝试更新 Select 已 选中项 文字颜色, 结果更新失败
SandBox
https://github.com/react-component/select/assets/26668179/8959036b-c68c-46e2-8394-c9e5fd216e0e
非常抱歉, 权限已设置为公开, 请重试一下
@afc163 请问这个有结论吗?
场景: 自定义 Select 选中项后, 需要支持 dark mode 主题, Select 选中项文字样式跟随主题切换
问题: 外部感知到 dark mode 更新后, 尝试更新 Select 已 选中项 文字颜色, 结果更新失败
SandBox
https://github.com/react-component/select/assets/26668179/8959036b-c68c-46e2-8394-c9e5fd216e0e