Skip to content

Commit 7997ff6

Browse files
Merge pull request #149 from PrithisIyyappan/main
Resolved the issue where Numeric Entry does not gain focus when its visibility is changed.
2 parents 207a2ea + c0d05c6 commit 7997ff6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

maui/src/NumericEntry/SfNumericEntry.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,13 @@ protected override void OnPropertyChanged([CallerMemberName] string? propertyNam
457457
}
458458
break;
459459

460+
case nameof(IsVisible):
461+
if (_textBox != null)
462+
{
463+
_textBox.IsVisible = IsVisible;
464+
}
465+
break;
466+
460467
#if WINDOWS
461468
case nameof(FlowDirection):
462469
SetFlowDirection();

0 commit comments

Comments
 (0)