Overlapping native selection and cm6 selection in live preview editor

Steps to reproduce

  1. open new sandbox vault
  2. setup theme to make overlapping selection more obvious
    • use light theme
    • set opacity of --text-selection css variable to 0.5 (rgba(204, 230, 255, 0.99)rgba(204, 230, 255, 0.5))
    • set --background-primary css variable to black
  3. make multiple selections

Actual result

for active selection, native selection stacks on top of cm6 selection.

see also only last selection is shown when multi-selecting text after obsidian cursor update · Issue #303 · kepano/obsidian-minimal · GitHub


	Obsidian version: v0.14.15
	Installer version: v0.14.6
	Operating system: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 21.5.0
	Login status: logged in
	Catalyst license: supporter
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: light
	Community theme: none
	Snippets enabled: 0
	Safe mode: off
	Plugins installed: 0
	Plugins enabled: 0