Is the charging port in Apple’s Magic mouse a design failure?

I have seen people bashing Apple Computer for the charging port in Magic mouse. emphasized text enter image description here

The purpose of asking this question is:

  1. If this is design failure, Apple being such a huge company and credited for some of the best UX and design principles didn't saw this coming?
  2. The design team responsible have not done any research, test and validation?
  3. Did they ignored it?
  4. Was it done with some intention, like no use while charging as it is not considered safe?

What I understand is either it was done intentionally or the team completely ignored it.