State Rep. Janelle Bynum, an Oregon Democrat, was talking to constituents, typing notes on her cellphone as she knocked on doors in her district just outside Portland.

Then a sheriff’s deputy pulled up.

Bynum — who is black — said a resident in the Clackamas County neighborhood where she was canvassing had called the police on Tuesday, thinking she was “suspicious” because she was going door to door and “spending a lot of time typing on her cellphone after each house.”

“Live from the mean streets of Clackamas!!!” she wrote in a Facebook post recounting the incident, which The Root summarized in hashtag form: #CampaigningWhileBlack.

In recent months, black people have found themselves the subjects of 911 calls over mundane and innocuous activities, like napping. Or in Bynum’s case, for doing her job.

Such false-alarm emergency calls over non-emergency incidents, some of which have been captured on video, have raised questions about whether people were calling the police not because of what someone was doing, but because of the person’s race.

Hence, #LivingWhileBlack and its variations, #(insert action word here)WhileBlack, were born.

Bynum told the Oregonian that she had just finished speaking with someone at one of the 30 homes she visited on Tuesday afternoon and was typing notes about her conversations on her phone when she saw the sheriff’s deputy in his patrol car.

The officer asked her if she was selling something, and Bynum introduced herself as a state legislator.

“It was just bizarre,” she told the Oregonian. “It boils down to people not knowing their neighbors and people having a sense of fear in their neighborhoods, which is kind of my job to help eradicate. But at the end of the day, it’s important for people to feel like they can talk to each other to help minimize misunderstandings.”

The Clackamas County Sheriff’s Office did not respond to a request for comment. Bynum said in her Facebook post that the deputy, whom she referred to as Officer Campbell, “responded professionally.”

The two took a selfie, and Bynum posted the picture on Facebook.

In her interview with the Oregonian, Bynum said she told the deputy that calling 911 over non-emergency incidents takes officers away from more urgent matters.

And, she said, it also “can be dangerous for people like me.”

In her Facebook post, Bynum said she asked the sheriff’s deputy to connect her with the 911 caller. The woman, who was not identified, already had left the neighborhood. But, Bynum wrote: “The officer called her, we talked and she did apologize.”

Bynum first was elected to the Oregon House of Representatives in 2016 and is running for re-election this year.