Skip to content

TokenizingTextBox remaining issues #3289

@michael-hawker

Description

@michael-hawker

Describe the bug

Follow-ons from #3247 review.

  • P1 Figure out how to isolate our custom style from WinUI style changes - Michael

    • Extra padding below tokens in style (looks like TextBox is pushing box taller?) - @JustinXinLiu I haven't been able to figure out where this is from as it was working ok in our test environment, would you have time next week to take a look? Thanks!
    • This could also be the textbox's vertical alignment, but I've seen three different cases across different samples we've had, so I'm more confused now. Update I think this is due to extra styling being applied by having WinUI 2.x included in the package. I noticed in Update to WinUI 2.4 #3291 that WinUI 2.4 applied a border around the textbox, so there's a problem here of how we isolate our custom style from the WinUI updates.
  • AutoSuggestBox sizing issue (wrap to 2nd line, then remove token, query icon is now clipped as autosuggestbox doesn't resize, calling update is ignored, can repro with standard AutoSuggestBox, did I file a WinUI issue? need to find workaround)? - Michael (apparently, this works fine with keyboard input, it's only when clicking the remove on the token with the mouse that it occurs???)

  • Update code to use interface to do check for tokens vs. our specific implementation (i.e. replace PretokenStringContainer with ITokenStringContainer)?

  • P2 E-mail sample doesn't work in Release Mode???

  • P2 Keyboard token duplication issue

  • When fixed height and scroll out of view, border is behind tokens (see image below)

  • Update InterspersedObservableCollection to accept List

  • P2 Rounded corners on Tokens/Box? (had issue importing WinUI styles for this with conditional xaml before)

  • P2 Show red outline on text not parsed as token when focus lost

  • P1 Expose a object[] Tokens and a string[] Text type properties? (do we need SelectedText as well?)

    • We should audit the properties and make sure we don't have 'extras' which are no longer used too.
  • P1 Not enough padding on Right-side (partly issue with panels and ListView)

  • Missing QueryIcon (forgot about this, that we need to update it to share or only have one on the last one.)

Metadata

Metadata

Labels

bug 🐛An unexpected issue that highlights incorrect behavior

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions