#weird border when window decorations are off and transparency is turned on
4 messages · Page 1 of 1 (latest)
the windows section of tauri.conf.json
{
"label": "overlay",
"url": "http://localhost:3000/overlay",
"width": 720,
"height": 120,
"center": true,
"resizable": false,
"decorations": false,
"alwaysOnTop": true,
"skipTaskbar": true,
"fullscreen": false,
"visible": false
}
the ui code itself:
isOverlayVisible && (
<main className="bg-[#111] px-[10px] py-[12px] rounded-md h-screen w-screen">
<form onSubmit={handleSubmit}>
<input
type="text"
placeholder="Enter a link here..."
className="focus:outline-none w-[80%] h-[40%] placeholder:text-[16px] bg-[#111] text-white font-inter"
ref={inputRef}
style={{ border: "none", outline: "none", boxShadow: "none" }}
/>
<button
type="submit"
className="ml-[4px] text-white absolute bottom-4 right-4"
>
submit
</button>
</form>
</main>
)```
Is this macos? If so it sounds similar to https://github.com/tauri-apps/tauri/issues/4243
yep & yep the solution at the end of this seems to fix this!