fix(core): remove border when borderStyle set to null/undefined#1214
fix(core): remove border when borderStyle set to null/undefined#1214posva wants to merge 4 commits into
Conversation
a868612 to
6e1ff71
Compare
Clearing borderStyle should not disable a border that callers enabled explicitly. Keep explicit borders active with the default style, and only remove borders that borderStyle enabled implicitly.
|
Verified this against both branch and main: the bug is real, all 8 new tests fail on main and pass here, and the framework paths that motivate the fix are confirmed — React sets removed props to One semantic flaw should be fixed before merge, though.
|
|
I can't help but notice you generated that message with AI. Is it for me or is it just a note for yourself and other maintainers? |
I think he's just testing using fable to review some of these prs. I had already made a fix for the semantic problems a few days ago, but i pushed to origin instead of your branch by mistake. I did just fixed that now. That commit mostly addresses the fable comments. I'll follow up with a few minor changes then i think this PR is good to merge. |
Setting
borderStyletonull/undefinednow removes the border instead of falling back to the default style and force-enabling it. Adds regression tests.