keyboardType(.numberPad) does't release resources on ios17

By using keyboardType(.numberPad) in TextField I have faced a bug that it keeps parent View resources in memory after View disappear from screen. If I use .keyboardType(.numbersAndPunctuation) everything is ok. It happens only on ios 17

keyboardType(.numberPad) does't release resources on ios17
 
 
Q