Commit 0d6f781 1 parent 4c5da20 commit 0d6f781 Copy full SHA for 0d6f781
File tree 3 files changed +16
-3
lines changed
3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Razor" >
2
2
3
3
<PropertyGroup >
4
- <Version >7.12.2-beta02 </Version >
4
+ <Version >7.12.2-beta03 </Version >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup Condition =" '$(TargetFramework)' == 'net5.0'" >
Original file line number Diff line number Diff line change @@ -195,6 +195,19 @@ const resetTableWidth = table => {
195
195
const setResizeListener = table => {
196
196
const eff = ( col , toggle ) => {
197
197
const th = col . closest ( 'th' )
198
+ if ( th . parentNode === null ) {
199
+ EventHandler . off ( col , 'click' )
200
+ EventHandler . off ( col , 'mousedown' )
201
+ EventHandler . off ( col , 'touchstart' )
202
+
203
+ table . tables . forEach ( t => {
204
+ const cells = t . querySelectorAll ( '.border-resize' ) ;
205
+ cells . forEach ( c => c . classList . remove ( 'border-resize' ) )
206
+ } )
207
+
208
+ return
209
+ }
210
+
198
211
if ( toggle ) th . classList . add ( 'border-resize' )
199
212
else th . classList . remove ( 'border-resize' )
200
213
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public void GotoTemplate_Ok()
78
78
}
79
79
80
80
[ Fact ]
81
- public void GotoNavigator_Ok ( )
81
+ public async Task GotoNavigator_Ok ( )
82
82
{
83
83
var index = 0 ;
84
84
var cut = Context . RenderComponent < Pagination > ( pb =>
@@ -94,7 +94,7 @@ public void GotoNavigator_Ok()
94
94
95
95
var navigator = cut . FindComponent < GotoNavigator > ( ) ;
96
96
var input = navigator . Find ( "input" ) ;
97
- cut . InvokeAsync ( ( ) =>
97
+ await cut . InvokeAsync ( ( ) =>
98
98
{
99
99
input . Change ( "5" ) ;
100
100
input . KeyUp ( "Enter" ) ;
You can’t perform that action at this time.
0 commit comments