Skip to content

Textbox#45

Draft
JeroenBos wants to merge 4 commits intomainfrom
textbox
Draft

Textbox#45
JeroenBos wants to merge 4 commits intomainfrom
textbox

Conversation

@JeroenBos
Copy link
Copy Markdown
Owner

@JeroenBos JeroenBos commented May 10, 2025

The problem with this is that the InterpolatedMarkup writes to the RenderTreeBuilder in a way that's not intended, and so it doesn't work. The <input> for instance is added after the katex tree, even though I render it in the middle.

The RenderTreeBuilder simplfy doesn't accept a partial markup tree, it finishes the tree.

Possible avenues:

  • Use the DomSpan on the C#-size and write something that converts those to a RenderTreeBuilder
  • Do the textbox in JS
    • Has the downside that every component would have to be ported to JS; not just a textbox
    • Also it's in Flow, which is really tedious to work with given that yarn flow takes forever.
  • Abandon Blazor and just go to TS ENTIRELY, at least for the frontend
    • I'm seriously considering this, but the backend is probably really going to be in C#, and I don't like a split ecosystem that way

@JeroenBos JeroenBos self-assigned this May 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant