Black Mirror director Ally Pankiw has revealed there’s one show she won’t be working on any time soon – HBO Max’s controversial Harry Potter series.

Pankiw, who directed a 2023 installment of Charlie Brooker’s dystopian hit, shared a post on Instagram that appeared to show a text conversation she had with her agent in which she categorically distanced herself from the show, declaring: “It is simply this easy to say no to funding transphobia.” Rowling declined to comment.

The director was alluding to the outspoken views of author JK Rowling, who is serving as an executive producer on HBO Max’s high-profile project. In recent years, Rowling has come under fire for various comments about gender ideology, with many, including stars of the Harry Potter films, accusing her of transphobia, which she denies.

In the image shared by Pankiw, a person believed to be her agent wrote: “I have an instinct on the answer, but I feel compelled to ask. Harry Potter? Hard no?”

Pankiw replied: “Absolutely f*ing not! lol… (But thank you for asking),” with her agent responding: “Of course :)… I assumed as much… (And agree).” She shared the screenshot with the caption: You can do it too!” and praised Loki director Kate Herron for turning down the show twice.

In response to the original post, Herron said: “They've asked me twice and I’ve had to explain my answer is never going to change from no.”

Rowling first made her stance on transgender women public in December 2019 when she tweeted in support of researcher Maya Forstater, who was fired from her job at a think-tank over a series of tweets questioning government plans to allow people to self-identify as another gender.

She later criticised the use of the term “people who menstruate” to include transgender and non-binary people, hit out at the idea that a person’s biological sex is not real and claimed that young people with mental health problems are “being shunted towards hormones and surgery”.

After being labelled a TERF – which stands for trans-exclusionary radical feminist and is a label Rowling takes issue with – she published an essay titled “TERF WARs”, in which she outlined five reasons to be “worried about the new trans activism”.

The writer’s divisive comments have sparked a backlash from many Harry Potter fans, with some even covering up their Hogwarts-related tattoos while many are calling for a boycott of the new series, which is expected to debut this December.

The actors who’ve accepted roles have faced scrutiny – with many distancing themselves from Rowling's views. Paapa Essideu, who is playing potions professor Severus Snape, last year signed an open letter in support of trans rights in the UK.

More recently, Bel Powley, who will star as Harry’s muggle aunt, Petunia Dursley, said in an interview: “I strongly disagree with JK Rowling’s views on gender. I think that the trans community deserve safety and dignity and respect and total acceptance.

“But I love Harry Potter. I grew up with the books. I am from that first generation of readers and, again, I love magic and spookiness.”

Other actors set to appear in the series include John Lithgow, Katherine Parkinson, Nick Frost and the recently announced Nicholas Hoult.