CommunityToolkit/WindowsCommunityToolkit

TextToolbar ordered List numeration error

Open

#2,759 opened on 2019幎1月22日

GitHub で芋る
 (6 comments) (0 reactions) (0 assignees)C# (1,403 forks)batch import
bug :bug:controls :control_knobs:help wantedmarkdown 📑no-recent-activity :chart_with_downwards_trend:

Repository metrics

Stars
 (5,708 stars)
PR merge metrics
 (30d に merged PR はありたせん)

説明

I'm submitting a...

Bug report (I searched for similar issues and did not find one)

Current behavior

When using a Ordered List in Rich Text format, the numbers jump from "9", to ":" and then "21" (First attached Image), and repeats the same every 10 elements.

When on Markdown if you insert ten elements and apply the ordered list property, but delete the first two, in the text editor your list will start with the number 3, while the Markdown Preview will start on number 1(Second attached Image).

c53e19d5-cbfe-4591-bd9a-2f9b6638ba31

9a58ddbd-b3d6-40eb-a711-e8f6037717f6

Expected behavior

It should order the numbers correctly.

Minimal reproduction of the problem with instructions

When Opening the sample app, go to Control -> TextToolbar, press the ordered lists button, and insert more than ten items.

Environment

Nuget Package(s): 5.0.0

Package Version(s): 

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [x] October 2018 Update (17763)
- [ ] Insider Build (build number: )

App min and target version:
- [x] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [x] October 2018 Update (17763)
- [ ] Insider Build (xxxxx)

Device form factor:
- [x] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [x] 2017 (version: Community 15.9.5 )
- [ ] 2017 Preview (version: )

コントリビュヌタヌガむド